I'm working on Seam1.2 and GlassFish.
Plase tell me how to inject ejb into ejb.
---class1---
@Stateless
@Name("action1")
public class Action1Bean implements Action1Local {...}
---class2---
@Stateless
@Name("action2")
public class Action2Bean implements Action2Local {
@EJB private Action1Local acton1;
}
This code is well. action1 is injected by @EJB annotation.
---class2'---
@Stateless
@Name("action2")
public class Action2Bean implements Action2Local {
@In private Action1Local acton1;
}
In this case, action1 is not injected by @In annotation.
Spacial configuration is required?
---Kay
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029219#4029219
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029219
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user