
Contents
Chapter 1 Introduction............................................................................................... 1
1.1 Overview...................................................................................................... 1
1.2 Benefits of X/Open DTP ........................................................................... 1
1.3 Areas Not Addressed................................................................................. 2
1.4 Relationship to International Standards................................................ 2
Chapter 2 Definitions.................................................................................................. 3
2.1 Transaction Definitions.............................................................................. 3
2.2 Model Definitions....................................................................................... 5
Chapter 3 The Model.................................................................................................. 7
3.1 Functional Model........................................................................................ 7
3.2 Functional Components ............................................................................ 8
3.2.1 Application Program (AP)..................................................................... 8
3.2.2 Transaction Manager (TM) .................................................................... 8
3.2.3 Resource Manager (RM)......................................................................... 8
3.2.4 Communication Resource Manager (CRM)....................................... 9
3.3 Interfaces between Functional Components......................................... 10
3.3.1 Functional Component Interfaces........................................................ 10
3.3.2 Data Interfaces.......................................................................................... 12
3.4 Activity between Functional Components Involving a Single AP .. 13
3.4.1 Transaction Initiation.............................................................................. 13
3.4.2 Transaction Association ......................................................................... 13
3.4.3 Transaction Commitment ...................................................................... 13
3.4.4 Transaction Rollback............................................................................... 14
3.4.5 Heuristic Transaction Completion....................................................... 14
3.4.6 Recovery after Failure............................................................................. 15
3.5 Distributed Communication Facilities................................................... 16
3.5.1 Communication within TM Domains................................................. 16
3.5.2 Communication across TM Domains.................................................. 16
3.5.3 SharingResources across TM Domains.............................................. 16
3.5.4 Global Transaction Demarcation.......................................................... 16
3.5.5 Global Transaction Tree Structure........................................................ 16
3.5.6 Global Transactions and the Transaction Tree................................... 17
3.5.7 Tightly- and Loosely-coupled Threads............................................... 18
3.5.8 Commitment Coordination................................................................... 18
3.6 Activity between Functional Components Involving Two or
More APs ...................................................................................................... 19
3.6.1 Transaction Initiation.............................................................................. 19
3.6.2 Transaction Association ......................................................................... 19
3.6.3 Transaction Commitment ...................................................................... 19
3.6.4 Transaction Rollback............................................................................... 20
Distributed Transaction Processing: Reference Model, Version 3 iii