Blog on things around me - Quality Management, Free & Open Source Software, Gadgets, Utilities...
Wednesday, August 17, 2005
Two-phase commits
The two-phase commit protocol ensures that all the resource managers either commit a transaction or abort it. In the first phase, the JTS asks each resource manager if it is prepared to commit. If all the participants affirm, then in the second phase the JTS(Java Transaction Service) broadcasts a commit message to all of them. If any part of the transaction fails - for instance, if a resource manager fails to respond to the prepare request, or if a resource manager responds negatively, then the JTS notifies all of the resource managers that the transaction is aborted. This is the essence of the two-phase commit protocol.
Subscribe to:
Post Comments (Atom)
Total Pageviews
Popular Posts
-
Bugzilla is the Bugs/Issues Tracking Tool from The Mozilla Organization. Version 2.18 is the latest stable release. There are couple of res...
-
Highly useful HTML5 Reference [Click to see the original]
-
I have started using a new Blogger template called TypoXP 2, all courtesy Ustadz.Net. I think it is an adaptation from Wordpress theme by th...
-
A white tiger yawns as he lays in a pond at the New Delhi Zoological Park in New Delhi. I just adore the pic...
-
Beautiful interactive overview of HTML5. Love HTML5 Games? Get Here . Checked exceptions are a good thing, learn to use them properly Ge...
No comments:
Post a Comment