1 Reply Latest reply on Oct 17, 2005 8:26 AM by Gavin King

    Clarification: @In EntityManager vs. @PersistenceContext Ent

    Patrick Angeles Novice

      The Seam reference doc, Chapter 3.4 "Seam managed transactions" shows how to set up a Seam managed EntityManager, which is injected to Seam components via the @In annotation.

      However, most sample code I've seen use the @PersistenceContext annotation. Any difference? Could I use the @PersistenceContext annotation outside of an EJB3 container?