I'm wondering is it possible to create a JBoss AS deployed EAR application (my_app.ear) which contains 2 or more web applications / modules (my_web_no_N.war) that would meet the following 2 requirements:
1. There will be certain classes that are shared between all the web applications.
2. It should be possible to only redeploy / reload one specific web application (WAR) without redeploying the entire EAR application (so that active sessions on other web applications would not be impacted when one WAR being is redeployed /reloaded in order to reload changed classes).
Any lead on how to achieve the above would be highly appreciated.
Put those classes into a seperate jar file and put this jar file into the lib folder of the ear.