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
-
Here is the list of Online Hindi Radio Stations. Copy the URL in your media player and enjoy !! 106.2 HUMFM - UAE ==> http://www.humfm.c...
-
There are four types of JDBC database driver: The JDBC/ODBC bridge driver (Type 1) A piece of native C-code that translates a JDBC call to ...
-
Here are a few of the JDBC Performance pointers. Hopefully, there are a lot more, which you may be aware of, but not mentioned here. Care to...
-
I just decied to look for a few commonly used UNIX command. A quick Google produces a lot more, but here are a list of more useful commands...
-
Always give your 100% to work... :) [received in an email]
No comments:
Post a Comment