June 2017
Intermediate to advanced
304 pages
7h 12m
English
If the applications should interact with multiple databases in a distributed environment at the same time, it is important to handle the persistent data communication to commit the database transaction. This is called multi-phase transaction. The XA transaction is the standard mechanism for distributed transactions. Each individual transaction in a distributed transaction (also termed global transaction) is termed as a transaction branch.
A money transaction is the best example for such distributed transactions. Let's say we want to transfer money from account A to account B. The amount should be deducted from account A, only then if can it be successfully credited in account B, and vice versa.
JDBC supports ...
Read now
Unlock full access