[jboss-dev-forums] [Design of POJO Server] - Re: JSR-299 servlet injection

scott.stark@jboss.org do-not-reply at jboss.com
Fri Mar 6 11:42:09 EST 2009


"alesj" wrote : 
  | If the Servlet was instantiated by MC this would be trivial to support
  | as you would simply glue a MC callback on it.
  | 
  | But I doubt we instantiate Servlets via MC, or do we?
We don't at the moment, and I'm not sure how easy we could do this at the moment. The jbossweb layer calls out to the server integration layer when it needs to instantiate a Servlet instance so that injection and be performed on the instance. I think this can be as late as on demand when there is a request for the Servlet, but I'm not sure of that.


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215785#4215785

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4215785



More information about the jboss-dev-forums mailing list