Try
@Stateful
| @Name("b1")
| public class Bean1 implements Bean1If {
| @In(create=true) EntityManager em;
| @In(create=true) Bean2 b2;
| ...
| }
@Name("b2")
| public class Bean2 implements Bean2If {
| @In(create=true) EntityManager em;
| ...
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959054#3959054
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959054
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user