I am interested in adding an OSGI container into my WAR but I can't find a tutorial or a documentation on how to do this. I found some things that are not useful at all. I am interested in Felix implementation and Atlassian implementation.
I am willing to do this so that my war accepts plug-ins and I can dynamically extend my Web app and also deploy it to any Web server.
Any links to a documentation or something? Any help is appreciated.
Adding an OSGi Framework launcher to a web application is not a big deal.
You need to add a listener to start the framework launcher in your web.xml
The startuplistener could look like this
Take care of MyBundlestarter class in the upper quote, it is the class which activates all bundles contained in your war. (e.g. /WEB-INF/Osgi-Bundles)
Last but not least, you have to add an osgi framework to your project.
or