[jboss-user] [EJB 3.0] - Re: Why is injection not working in AS 4.0 and 4.2 (servlets

jainsau do-not-reply at jboss.com
Mon Jul 30 17:06:57 EDT 2007


i have also seen that, within the AS, in the same ear, EJB injections do not work. So if an EJB access another EJB using @EJB it works. But if the EJB access another class (simple POJO) which uses @EJB, the injection doesnt work (EJB->POJO->EJB does not work, though POJO is in the same EAR file and is invoked directly from the EJB).
Is this something missing in the Jboss 4.2 or is this expected behavior? Or do I need to do some configuration? 
The EJB specs seem to be silent on this behavior.

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

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



More information about the jboss-user mailing list