0 Replies Latest reply on May 26, 2008 4:23 PM by Arisson Leal

    sessionBean managed by seam or container ?

    Arisson Leal Newbie

      I have this session bean biding with my xhtml.


      @Name("testeBean")
      @Stateless
      public class TesteBean implements Teste {
         @PersistenceContext
         private EntityManager entityManager;
      
         @Logger
         private Log log;
      
         public void teste() {
            log.info("EntityManager" + entityManager);
         }
      }
      



      Why the entityManager injected is a seam proxy and not a ejb3 ?


      This sessionBean is managed by the container ?