JBoss Community

Injecting @EJB in my own class

created by Ondrej Medek in EJB3 - View the full discussion

Hello,

 

since JBoss 5.1 it is possible to inject @EJB into a Servlet or JSP, that's very nice. I would like to integrate this kind of injections into the controllers of ZKoss framework. Shortly, these objects are created from a Servlet, i.e. they are part of WAR. And I can control their creation so I can perform an @EJB injection. Is it possible to perform somehow the same king of injection JBoss 5.1. does with @EJBs for Servlets? I'll publish my solution, if I will be sucessfull.

 

I know JBoss 6.0 is out, but I do not know when we will migrate to JBoss 6.0.

 

Thanks very much

Reply to this message by going to Community

Start a new discussion in EJB3 at Community