Operating System: All
The concept of scattered war is nice. It would be useful if embedded API could
support simple Servlet use also without requiring full war archives.
See Jetty example:
Need help from Jennifer.
email thread with Jan:
> Is there a way to add a Servlet object on the fly as in this example is there?
> Like adding an instance of HelloServlet using new HelloServlet() to Context,
instead of specifying the Servlet class.
> We currently don't support adding an already instantiated servlet to a context,
> but we could add support for it as well (however, it is not clear whether
> we would need to call the servlet's init() method in this case).
ok. I was looking at the simple Servlet case in terms of supporting the Servlet
without needed it to be in a WAR.
for issue https://embedded-glassfish.dev.java.net/issues/show_bug.cgi?id=9
Let me know if you'd like to try supporting this for this release.
Created issue 7050 under v3 web container requesting support for simple servlet
Web tier folks will expose the WebContainer API replacing some of the existing
methods on Server, like createVirtualServer and createHTTPListener.
Transfer to Rajiv - the web folks will work on this from embedded prelude branch.