TX.2. The Two-Phase Commit Protocol
The two-phase commit protocol is defined using three primary types:
TransactionManager: A transaction manager creates new transactions and coordinates the activities of the participants.
NestableTransactionManager: Some transaction managers are capable of supporting nested transactions.
TransactionParticipant: When an operation is performed under a transaction, the participant must join the transaction, providing the manager with a reference to a TransactionParticipant object that will be asked to vote, roll forward, or roll back.
The following types are imported from other packages and are referenced in unqualified form in the rest of this specification:
java.rmi.Remote java.rmi.RemoteException java.rmi.NoSuchObjectException ...
Get Jini™ Specifications, The, Second Edition 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.