Maybe I'm stating the obvious here, but for a J2EE developer learning Seam... some reassurance is nice to have:
When using seam-managed persistence contexts, is it always necessary to inject the EntityManager with @In or does the traditional @PersitenceContext also work? In the documentation, it reads:
Now we can have our EntityManager injected using:@In EntityManager bookingDatabase;
Not trying to be picky, but since @PersistenceContext will still work in a session bean component. Therefore I wonder if Seam will provide the EntityManager in both cases (i.e. it doesn't make a difference) or not (i.e. only the @In-injected entity manager is seam-managed).
use @In to inject SMPC
use @PersistenceContext to inject ejb container-managed tx or extended PC
read the forums, docs and books, it's covered there well...