Transaction in Tuxedo
This is one of the most important sections in client/server architecture. The foundation of Tuxedo ATMI is a proven, reliable transaction processor, also known as a Transaction Processing (TP) monitor. This transaction processing has very unique characteristics consisting Atomicity, Consistency, Isolation, and Durability, also known as ACID.
Atomicity: All changes to data are committed in a single operation, which means all the changes are done at once, otherwise they are rolled back
Consistency: This means that the data has to be in a consistent state before and after the transaction
Isolation: This means that transactions run concurrently and appear to be serialized; the intermediate state of a transaction is unseen to other transactions
Durability: Once a transaction is committed, the changes to data should be saved and cannot be lost, even in the event of a system failure
The XA interface and two-phase commit
In a real-life scenario, we need to have a single function...