Should I inject the EntityManager with @In or use
  | 
  | EntityManager entityManager=(EntityManager) Component.getInstance 
("entityManager");

They are exactly the same.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066440
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to