Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

XADataswource  RSS feed

 
shiva shankar
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone explain me when,why and how to use XADatasource?
In what way it is related to two phase commit?
Is two phase commit is not possible with normal Datasource?
 
ravi inguva
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
XADataSource is used when ur j2ee application wants to participate in distributed Transaction (two or more database) at that time ur driver should implement javax.sql.XADataSource interface to participate in the transaction to lead to ACID rules.
2 phase commit protocol is the protocol followed by the transaction manager(JTS) to keep the all resource managers in sync for commiting the transaction .
i have the explanation is enough to clarify ur question
 
yogendra babu
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What about XAConnection.?When to use XAConnection?
Distributed transaction is working with out using XAConnection.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!