Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop Transactions > Develop components to use transactions


Use one-phase and two-phase commit resources in the same transaction

Use these topics to help you coordinate the use of a single one-phase commit capable resource with any number of two-phase commit capable resources in the same global transaction.

We can coordinate the use of a single one-phase commit capable resource with any number of two-phase commit capable resources in the same global transaction. We can have multiple interactions that involve the one-phase commit resource in the same transaction, but only one such resource can be involved. This coordination is enabled by the last participant support.

At transaction commit, the two-phase commit resources are prepared first using the two-phase commit protocol, and if this is successful the one-phase commit-resource is then called to commit. The two-phase commit resources are then committed or rolled back depending on the response of the one-phase commit resource.

For more information about using one-phase and two-phase commit resources within the same transaction, see the following topics:


Procedure


Related


Coordination of access to one-phase commit and two-phase commit capable resources in the same transaction
Assembling an application to use one-phase and two-phase commit resources in the same transaction
Configure an application server to log heuristic reporting
Last Participant Support: Resources for learning

+

Search Tips   |   Advanced Search