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.
You have a couple of options...