I would like to know how to create something like plug-ins to be hot deployed to my running web application on GlassFish ,
For example , if we followed the notion of Facebook Apps , I think these are plugins that could be added later on as the requirements increases.
I searched the internet , I found that it could be possible if I developed the web application in a portal container server and follow the JSR-168 for Portal and Portlet Development , but my web application is smaller in business than defining it as a portal.
Is it possible to create a specific folder on the glassfish called for example Apps , this folder will contain many JARS each jar of those is a web application that can have (faces-config.xml , web.xml,sun-web.xml) and load it to the classPath dynamically using SystemClassPathLoader or something like that , my question here : will this loaded web application be known to the application server if I demanded a specific JSF Page inside that JAR , will it follow its Faces-config navigation Rules….?
If not , what is the possible Solution for Such a problem ?