11 Replies Latest reply on May 18, 2009 6:13 PM by Israel Fonseca

    Injection of entityManger : @In or @PersistenceContext

    Fred B Newbie

      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.