11 Replies Latest reply on May 18, 2009 6:13 PM by israel.bgf

    Injection of entityManger : @In or @PersistenceContext

    phread.fbricon.gmail.com

      Hi,


      What is the best practice for dependency injection of entityManager, use @In or @PersistenceContext annotation? I even saw a Component.getInstance(entityManager).


      regards


      Fred B.