BS ISO/IEC 14834:1996
Current
The latest, up-to-date edition.
Information technology. Distributed transaction processing. The XA specification
Hardcopy , PDF
English
15-02-1997
Chapter 1 General
1.1 Scope
1.2 X/Open DTP Model
1.3 Document Structure
1.4 Normative references
Chapter 2 Model and Definitions
2.1 X/Open DTP Model
2.2 Definitions
2.2.1 Transaction
2.2.2 Distributed Transaction Processing
2.2.3 Application Program
2.2.4 Resource Manager
2.2.5 Global Transactions
2.2.6 Transaction Branches
2.2.7 Transaction Manager
2.2.8 Thread of Control
2.2.9 Tightly- and Loosely-coupled
Threads
2.3 Transaction Completion and Recovery
2.3.1 Rolling Back the Global
Transaction
2.3.2 Protocol Omissions
2.3.3 Heuristic Branch Completion
2/3/4 Failures and Recovery
Chapter 3 Interface Overview
3.1 Index to Services in the XA Interface
3.2 Opening and Closing Resource Managers
3.3 Association of Threads with Transaction
Branches
3.3.1 Registration of Resource Managers
3.4 Branch Completion
3.5 Synchronous, Non-blocking and
Asynchronous Modes
3.6 Failure Recovery
Chapter 4 The "xa.h" Header
4.1 Naming Conventions
4.2 Transaction Identification
4.3 Resource Manager Switch
4.4 Flag Definitions
4.5 Return codes
Chapter 5 Reference Manual Pages
ax_reg()
ax_unreg()
xa_close()
xa_commit()
xa_complete()
xa_end()
xa_forget()
xa_open()
xa_prepare()
xa_recover()
xa_rollback()
xa_start()
Chapter 6 State Tables
6.1 Resource Manager Initialisation
6.2 Association of Threads of Control with
Transactions
6.2.1 Dynamic Registration of Threads
6.3 Transaction States
6.4 Asynchronous Operations
Chapter 7 Implementation Requirements
7.1 Application Program Requirements
7.2 Resource Manager Requirements
7.2.1 The Application Program (Native)
Interface
7.3 Transaction Manager Requirements
Appendix A Complete Text of "xa.h"
Appendix B DTP Model - Introduction
B.1 Overview
B.2 Benefits of X/Open DTP
B.3 Areas Not addressed
B.4 Relationship to International Standards
Appendix C DTP Model - Definitions
C.1 Transaction Definitions
C.2 Model Definitions
Appendix D DTP Model - The Model
D.1 Functional Model
D.2 Functional Components
D.2.1 Application Program (AP)
D.2.2 Transaction Manager (TM)
D.2.3 Resource Manager (RM)
D.2.4 Communication Resource Manager (CRM)
D.3 Interfaces between Functional Components
D.3.1 Functional Component Interfaces
D.3.2 Data Interfaces
D.4 Activity Involving a Single AP
D.4.1 Transaction Initiation
D.4.2 Transaction Association
D.4.3 Transaction Commitment
D.4.4 Transaction Rollback
D.4.5 Heuristic Transaction Completion
D.4.6 Recovery after Failure
D.5 Distributed Communication Facilities
D.5.1 Communication with TM Domains
D.5.2 Communication across TM Domains
D.5.3 Sharing Resources across TM Domains
D.5.4 Global Transaction Demarcation
D.5.5 Global Transaction Tree Structure
D.5.6 Global Transaction and the
Transaction Tree
D.5.7 Tightly- and loosely-coupled
Threads
D.5.8 Commitment Coordination
D.6 Activity Involving Two or More APs
D.6.1 Transaction Initiation
D.6.2 Transaction Association
D.6.3 Transaction Commitment
D.6.4 Transaction Rollback
D.6.5 Heuristic Transaction Completion
D.6.6 Recovery after Failure
D.7 CRM Communication Paradigms with APs
D.7.1 The TxRPC Interface
D.7.2 The XATMI Interface
D.7.3 The CPI-C Version 2 Interface
D.7.4 Relationships between the
Communication Paradigms
D.8 High-level TP Language
Appendix E DTP Model - Frequently Asked Questions
Appendix F Bibliography
Index
List of Figures
2-1 Functional Components and Interfaces
3-1 The XA Interface
C-1 A TM Domain with Four Instances
D-1 Functional components and Interfaces
D-2 Global Transaction Tree Structure
E-1 Projection of Model onto Processes
List of Tables
4-1 Flags used in Particular Function Calls
6-1 State Table for Resource Manager
Initialisation
6-2 State Table for Transaction Branch
Association
6-3 State Table for Transaction Branch
Association (Dynamic Registration)
6-4 State Table for Transaction Branches
6-5 State Table for Asynchronous Operations
Defines the XA interface: the bidirectional interface between a transaction and resource manager in an X/Open Distributed Transaction Processing (DTP) environment.
Committee |
IST/6
|
DevelopmentNote |
Supersedes 95/642782 DC. (08/2004)
|
DocumentType |
Standard
|
Pages |
128
|
PublisherName |
British Standards Institution
|
Status |
Current
|
Supersedes |
This International Standard specifies the XA interface: the bidirectional interface between a transaction manager and a resource manager in an X/Open Distributed Transaction Processing (DTP) environment. The XA interface is not an ordinary Application Programming Interface (API); it is a system-level interface between DTP software components.
This International Standard is technically identical to X/Open CAE Specification, Distributed Transaction Processing: The XA Specification (December 1991). Like that specification, this International Standard does not define the full aspects of the DTP model that pertain to communication.
Standards | Relationship |
ISO/IEC 14834:1996 | Identical |
ISO/IEC 10026-2:1998 | Information technology Open Systems Interconnection Distributed Transaction Processing Part 2: OSI TP Service |
ISO/IEC 9804:1998 | Information technology Open Systems Interconnection Service definition for the Commitment, Concurrency and Recovery service element |
ISO/IEC 8824:1990 | Information technology — Open Systems Interconnection — Specification of Abstract Syntax Notation One (ASN.1) |
ISO/IEC 8825:1990 | Information technology — Open Systems Interconnection — Specification of Basic Encoding Rules for Abstract Syntax Notation One (ASN.1) |
ISO/IEC 10026-3:1998 | Information technology Open Systems Interconnection Distributed Transaction Processing Part 3: Protocol specification |
ISO/IEC 9899:2011 | Information technology Programming languages C |
ISO/IEC 9805-1:1998 | Information technology Open Systems Interconnection Protocol for the Commitment, Concurrency and Recovery service element: Protocol specification Part 1: |
ISO/IEC 10026-1:1998 | Information technology Open Systems Interconnection Distributed Transaction Processing Part 1: OSI TP Model |
Access your standards online with a subscription
Features
-
Simple online access to standards, technical information and regulations.
-
Critical updates of standards and customisable alerts and notifications.
-
Multi-user online standards collection: secure, flexible and cost effective.