[jboss-user] [EJB 3.0] - Reciprocal dependency injection with @EJB

icordoba do-not-reply at jboss.com
Fri Jul 27 11:41:11 EDT 2007


Hi there,
how can I get a dependency injection using @EJB in two Stateless Session beans which each one needs a reference to the other one?
I get a NOTYETINSTALLED status when just injecting in eachone the reference to the otherone:

In UserManager:
@EJB PortalManagerLocal portalmanager;

in PortalManager:
@EJB UserManagerLocal usermanager;

Thanks,
Ignacio

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

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



More information about the jboss-user mailing list