[jboss-user] [JBoss Seam] - Re: @In or @PersistenceContext for EntityManager?

fhh do-not-reply at jboss.com
Mon Apr 9 06:28:17 EDT 2007


@PersitenceContext - Application Server creates EntityManager.
Advantage: No Seam dependency -> portable.

@In - Seam creates the EntityManager
Advantage: Transaction management, is required for other Seam components like the entity converter.

Regards

Felix

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035676#4035676

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035676



More information about the jboss-user mailing list