• Post Reply Bookmark Topic Watch Topic
  • New Topic

Distributed transaction or local transaction  RSS feed

 
priya Anand
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I determine whether my application uses Distributed transaction or local transaction?
 
Luis Soares
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Typically local transaction are used when resources involved in transactions is unique (for instance : a database do persist information). When you need to persist informations in various and differents databases (or other resources used to persist information and involved in transaction), then you must be use distributed transactions (using JTA). JTA specifies ways to manage distributed transaction properly.

Best regards,

Mr. Soares
São Paulo - Brazil

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!