Transaction Management
XA Transactions
Most developers have at least heard of XA, which describes the standard protocol that allows coordination, commitment, and recovery between transaction managers and resource managers. Products such as CICS, Tuxedo, and even BEA WebLogic Server act as transaction managers, coordinating transactions across different resource managers.
Reader Feedback : Page 1 of 1
#4 |
Thomas commented on the 27 Sep 2007
Hi, I am pretty new on this subject, but I don't get this sentence: "This allows the transaction manager to work with a non-XA resource, but normally only one XA resource per transaction is allowed." Shouldn't this be "but normally only one non-XA resource per transaction is allowed"? Otherwise the "one-phase-commit" optimization would only be applicable for the case, that you have two resources, one XA and one non-XA. But there is no problem to expand the XA resources to as many as possible, because they all support the two-phase-commit, and I think this is done with the XA resources also in the one-phase-commit, because they respond to the commit-request of the transaction manager. The only thing that's different from a "real" two-phase-commit is the non-XA resource, which "prepared to commit" like the other XA resources. Is this correct? |
#3 |
Steve Kaminski commented on the 17 Jul 2007
Hi, I am told that if you have a single XA datasource (using an XA driver) and you initiate a transaction on that datasource that involves only 1 resource WLS JTA will perform the transaction as a local transaction and as such avoid the overhead involved in an XA (global) transaction. Is this true? and if so why would you ever need one data source for non-XA and another for XA transactions as you suggest in this article? Very good article by the way, well done on a difficult subject. You have a skill. |
#2 |
Sudheer Bandaru commented on the 14 May 2004
The article was excellent and well designed which even covers many points that might be helpful to solve the errors and warnings when using an application.Also explains clearly when and how to use XA drivers to a new user. |
#1 |
Gian Luca commented on the 12 May 2004
The article is well done! But we were interested more specifically in what happens in case of system crashes or DataBase failure... We encoutered problems of in-doubt transactions (Oracle 8/9) not recovered by the BEA''s Transaction recovery System !! Have you got informations at regards? Thanks, Gian Luca Paloni |