ISO IEC 14834-1996 Information technology - Distributed transaction processing - The XA specification《信息技术 分布式事务处理 XA规范》.pdf
《ISO IEC 14834-1996 Information technology - Distributed transaction processing - The XA specification《信息技术 分布式事务处理 XA规范》.pdf》由会员分享,可在线阅读,更多相关《ISO IEC 14834-1996 Information technology - Distributed transaction processing - The XA specification《信息技术 分布式事务处理 XA规范》.pdf(125页珍藏版)》请在麦多课文档分享上搜索。
1、INTERNATIONAL STANDARD ISO/IEC 14834 First edition 1996-08-I 5 Information technology - Distributed Transaction Processing - The XA Specification Technologies de Iinformation - Traitement transactionnel - La spkification XA Reference number ISO/IEC 14834:1996(E) ISO/IEC 14834:1996(E) Contents Chapte
2、r 1 1.1 1.2 1.3 1.4 General . Scope X/Open DTP Model Document Structure . Normative References . _ . Chapter 2 2.1 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3 2.3.1 2.3.2 2.3.3 2.3.4 Model and Definitions X/Open DTP Model Definitions Transaction . Distributed Transaction Processing
3、 . Application Program Resource Manager . Global Transactions Transaction Branches . Transaction Manager Thread of Control Tightly- and Loosely-coupled Threads . Transaction Completion and Recovery . Rolling Back the Global Transaction Protocol Optimisations Heuristic Branch Completion . Failures an
4、d Recovery 3 4 5 5 5 5 5 6 6 6 7 7 8 8 8 9 9 Chapter 3 3.1 3.2 3.3 3.3.1 3.4 3.5 3.6 Interface Overview Index to Services in the XA Interface . Opening and Closing Resource Managers . Association of Threads with Transaction Branches . Registration of Resource Managers Branch Completion Synchronous,
5、Non-blocking, and Asynchronous Modes . Failure Recovery 11 12 13 14 15 16 17 17 Chapter 4 The “xa.h”Header 19 4.1 Naming Conventions 19 4.2 Transaction Identification 19 4.3 Resource Manager Switch . 21 4.4 Flag Definitions 22 0 ISO/IEC 1996 All rights reserved. Unless otherwrse specified, no part o
6、f this publication may be repro- duced or utilized in any form or by any means, electronic or mechanical, including photo- copying and microfilm, wrthout permission in writing from the publisher. ISO/IEC Copyright Office l Case postale 56 l CH-1211 Geneve 20 l Swrtzerland Printed in Swrtzerland OISO
7、/IEC ISOAEC 14834:1996(E) 4.5 Chapter 5 Chapter 6 6.1 6.2 6.2.1 6.3 6.4 Chapter 7 7.1 7.2 7.2.1 7.3 Appendix A Appendix B B.l B.2 8.3 8.4 Appendix C c.1 c.2 Appendix D DTP Model - The Model 81 D.l Functional Model 82 D.2 Functional Components . 83 D.2.1 Application Program (AP) 83 D.2.2 Transaction
8、Manager (TM) 83 D.2.3 Resource Manager (RM). 83 D.2.4 Communication Resource Manager (CRM) . 84 Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reference Manual Pages 27 ax-reg( )
9、 . 28 ax-unreg( ) . 31 xa-c/ose( ) 32 xacommit( ) . 34 xa-complete ( ) 37 xa-end( ) 38 xa-forget( ) . 41 xa-open( ) 43 xa-prepare( ) 45 xa-recover( ) . 48 xa-ro/back( ) 50 xa-start( ) . 53 State Tables Resource Manager lnitialisation . Association of Threads of Control with Transactions . Dynamic Re
10、gistration of Threads Transaction States . Asynchronous Operations Implementation Requirements . Application Program Requirements Resource Manager Requirements The Application Program (Native) interface . Transaction Manager Requirements . Complete Text of “xa.h” . . . . . . . . . . . . . . . . . .
11、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DTP Model - Introduction . Overview . Benefits of X/Open DTP . Areas Not Addressed . Relationship to International Standards DTP Model - Definitions . Transaction Definitions . Model Definitions . 24 57 58 59 59 61 63 65 6
12、5 66 68 69 71 75 75 76 76 76 77 77 79 . . . III ISO/IEC 14834: 1996(E) OISO/IEC D.3 D.3.1 D.3.2 D.4 D.4.1 D.4.2 D.4.3 D.4.4 D.4.5 D.4.6 D.5 D.5.1 D.5.2 D.5.3 D.5.4 D.5.5 D.5.6 D.5.7 D.5.8 D.6 D.6.1 D.6.2 D.6.3 D.6.4 D.6.5 D.6.6 D.7 D.7.1 D.7.2 D.7.3 0.7.4 D.8 Appendix E DTP Model - Frequently Asked
13、Questions . . . . . . . . . . . . . . . . . . . 99 Appendix F Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Interfaces between Functional Components . Functional Component I
14、nterfaces Data Interfaces . Activity Involving a Single AP . Transaction Initiation . Transaction Association Transaction Commitment Transaction Rollback . Heuristic Transaction Completion Recovery after Failure . Distributed Communication Facilities Communication within TM Domains Communication acr
15、oss TM Domains . Sharing Resources across TM Domains . Global Transaction Demarcation . Global Transaction Tree Structure . Global Transactions and the Transaction Tree . Tightly- and Loosely-coupled Threads . Commitment Coordination . Activity Involving Two or More APs . Transaction Initiation . Tr
16、ansaction Association Transaction Commitment Transaction Rollback . Heuristic Transaction Completion Recovery after Failure . CRM Communication Paradigms with APs . The TxRPC Interface The XATMI Interface . The CPI-C Version 2 Interface Relationships between the Communication Paradigms High-level TP
17、 Language . 85 85 87 88 88 88 88 89 89 90 91 91 91 91 91 91 92 93 93 94 94 94 94 95 95 95 96 96 96 97 97 98 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
18、5 List of Figures 2-l 3-l C-l D-l D-2 E-l Functional Components and Interfaces . 4 The XA Interface . 11 A TM Domain with Four Instances . 79 Functional Components and Interfaces . 82 Global Transaction Tree Structure . 92 Projection of Model onto Processes 101 OISO/IEC lSO/lEC 14834:1996(E) List of
19、 Tables 4-l 6-l 6-2 6-3 6-4 6-5 Flags used in Particular Function Calls . 23 State Table for Resource Manager lnitialisation 58 State Table for Transaction Branch Association 59 State Table for Transaction Branch Association (Dynamic Registration) 60 State Table for Transaction Branches . 62 State T
20、able for Asynchronous Operations . 63 V ISO/IEC 14834:1996(E) o lSO/IEC Foreword IS0 (the International Organization for Standardization) and IEC (the Inter- national Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of IS0 or IE
21、C participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. IS0 and IEC technical com- mittees collaborate in fields of mutual interest. Other international organiz- ations,
22、governmental and non-governmental, in liaison with IS0 and IEC, also take part in the work. In the field of information technology, IS0 and IEC have established a joint technical committee, ISO/IEC JTC 1. Draft International Standards adopted by the joint technical committee are circulated to nation
23、al bodies for vot- ing. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. International Standard ISO/IEC 14834 was prepared by X/Open Company Ltd. (as XO/CAE/91/300) and was adopted, under a special “fast-track pro- cedure”, by Joint T
24、echnical Committee ISO/IEC JTC 1, information tech- nology, in parallel with its approval by national bodies of IS0 and IEC. Appendix A forms an integral part of this International Standard. Appen- dices B to F are for information only. o ISOAEC ISO/IEC 14834:1996(E) Introduction (This introduction
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ISOIEC148341996INFORMATIONTECHNOLOGYDISTRIBUTEDTRANSACTIONPROCESSINGTHEXASPECIFICATION 信息技术 分布式 事务处理
链接地址:http://www.mydoc123.com/p-1256857.html