posted 19 years ago
Two way commit can be useful for distributed transactions
for e.g. u call a Message Driven Bean (asynchronously) as well as a Database operation. So before comitting the transaction (message will be send to the Resource Manager of both the Transactions asking for their acknwoledgement. If yes (from both), commit . if no (from either), rollback).
[ March 16, 2005: Message edited by: Nischal Tanna ]