1 Reply Latest reply on Sep 9, 2010 12:32 AM by Andy Gibson

    CDI and @PersistenceContext

    Diego Nunes Assunção Newbie

      Good night.


      I get by with CDI (class annotated with @ Named) inject an EntityManager using the annotation @ PersistenceContext for the container to manage my transactions? Can this effect using EJB, but do not want to use it.


      Or is it necessary that I manually manage my transaction?


      Note: I'm using GlassFish 3.


      Thank you.