The X/Open Distributed Transaction Processing (DTP) model is shown in the diagram below:
The point of the X/Open DTP model is to define the interfaces between these components, so that different products from different vendors can interoperate.
Six interfaces are shown in the above diagram. Five of them are defined by the DTP model. The communication between the application and the resource manager is not defined. DTP assumes that standard database languages, such as ISAM (Indexed Sequential Access Method) or SQL (Structured Query Language), will be used here.
xa_start
, xa_commit
and xa_rollback
calls to manage a transaction. Resource managers use xa_reg
calls to register with the transaction manager. XA also allows one-phase commit for transactions that access a single resource manager.tx_begin
, tx_commit
, and tx_rollback
calls to manage transactions.