File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what are differences between UserTransaction and EntityTransaction ?

 
raminaa niilian
Ranch Hand
Posts: 551
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 100
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic