aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes JTA and Resource Local Entity Manager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "JTA and Resource Local Entity Manager" Watch "JTA and Resource Local Entity Manager" New topic

JTA and Resource Local Entity Manager

Amirr Rafique
Ranch Hand

Joined: Nov 14, 2005
Posts: 324
Hi ranchers

Anyone please explain difference in JTA and Resource local entity managers


"Know where to find the solution and how to use it - that's the secret of success."
Jait Thomas

Joined: Feb 01, 2001
Posts: 13
JTA is container managed and Resource Local is application managed(used by standalone applications mostly). JTA is instantiated with annotation of PersistenceContext where as Resource Local is instantiated with PersistenceUnit.

Jait Thomas
SCJP 1.2, SCWCD, SCDJWS 1.4 & 5, SCBCD 5
I agree. Here's the link:
subject: JTA and Resource Local Entity Manager
Similar Threads
Contradiction about em.getTranaction() in the spec !!
Query about JTA entity Managers and Resource_LOCAL_entity Managers
Problem with understanding Transaction Management Demarcation
transaction-type in persistence.xml
application managed EM can be either JTA or resource-local?