|Re: Details of OSGi Web Container sub-project [message #499827 is a reply to message #499637]
||Tue, 24 November 2009 10:00
| Adrian Colyer
Registered: July 2009
In this context, think of "RFC 66" and "Web Container specification" as synonymous, and the "Gemini Web Container project" simply as the RI for this specification (nothing broader).
In brief, the model is that a web container extender listens for lifecycle events from bundles which are specially denoted as "Web Application Bundles". These are just standard bundles with additional headers in the manifest and/or contain a WEB-INF/web.xml file. When such a bundle transitions to the active state, the extender creates a servlet context for the bundle and deploys it into a servlet container. In the RI, the embedded servlet container is Tomcat, but there is nothing special about it from the perspective of the spec., and Jetty could just as easily be used for example.
In addition, a URL handler is defined supporting the "webbundle:" url scheme. This allows traditionally packaged JEE war files to be deployed as Web Application Bundles.
Powered by FUDForum
. Page generated in 0.01824 seconds