aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes what are differences between UserTransaction and EntityTransaction ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "what are differences between UserTransaction and EntityTransaction ?" Watch "what are differences between UserTransaction and EntityTransaction ?" New topic
Author

what are differences between UserTransaction and EntityTransaction ?

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
Thank you for reading my post.


What are different between UserTransaction and EntityTransaction ?

( in context of EJB 3 and JPA )


Thanks
Debu Panda
author
Ranch Hand

Joined: Jan 21, 2007
Posts: 100
UserTransaction is provided by JTA and provided by the application server's JTA Transaction Manager that supports global transaction. The EntityTransaction is essentially a high-level abstraction over a resource localJDBC transaction, as opposed to the distributed JTA transaction. EntityTransaction is supposed to be used when JTA transaction is not available outside the container. We discuss this topic in Chapter 9 of the book


Author: EJB 3 In Action (http://manning.com/panda)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what are differences between UserTransaction and EntityTransaction ?