Transactions and the Two-Phase Commit

A global (distributed) transaction uses the so-named two-phase commit protocol to handle transactions that involve multiple resources. During the first phase, changes to a resource are transmitted to the resources and written to a transaction log file. During the second phase, the transaction manager asks all resources to commit the changes, provided all resources have assured the transaction manager that they can successfully complete their portion of the transaction. If any of the resources reports that it can't successfully complete its part of the transaction, the transaction manager rolls back the entire transaction. WebLogic Server uses the well known XA interface to implement the two-phase commit ...

Get Oracle WebLogic Server 11g Administration Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.