wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Doubt in JTA & resource-local entity managers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Doubt in JTA & resource-local entity managers" Watch "Doubt in JTA & resource-local entity managers" New topic
Author

Doubt in JTA & resource-local entity managers

Senthil Kumar
Ranch Hand

Joined: Mar 13, 2006
Posts: 264
A resource-local entity manager transaction is mapped to a resource transaction over the resource by the persistence provider.

can some one explain what the spec means by saying "mapped to a resource transaction over the resource by the persistence provider".


when you really want something, all the universe always conspires in your favour.<br /> <br />SCJP1.5-77%<br />SCWCD-89%
Shivani Chandna
Ranch Hand

Joined: Sep 18, 2004
Posts: 380
A resource-local entity manager transaction [=>>> application managed EntityManager.]

is mapped to a

resource transaction [==>> Transaction started by EntityManager i.e EntityTransaction]

over the

resource [=>>> the entities managed by the entity manager.]

by the persistence provider.
---------------------------

Persistence provider is responsible for taking care of Tx Mapping for the given application managed EntityManager.


/** Code speaks louder than words */
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Doubt in JTA & resource-local entity managers
 
Similar Threads
Transaction Scoped Persistence Contexts
Problem with understanding Transaction Management Demarcation
Doubt on PersistenceContext
JTA transaction or resource-local transaction.
Resource Local Transactions