Design and Implementation of Transaction Management System Based on Business Transaction Protocol
- Author
- ZhaoYongMing
- Advisor
- WuGuoShi
- School
- Beijing University of Posts and Telecommunications
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 42
- Citations
- 2
Abstract
Among various communication technologies based on internet, Web Services is the most popular one. Because web services are good encapsulation, high integration and loose coupled, this technology is widely used in either B2B e-commerce or internal environment. Enterprise system is always complex and how to coordinate distributed enterprise system is really an issue. The Business Transaction Protocol (BTP), approved by the OASIS Business Transaction Technical Committee, intends to solve this.BTP is a carrier-neutral protocol to allow coordination of application work between multiple autonomous, cooperating participants. It defines protocol exchanges to ensure the overall application achieves a consistent result. BTP distinguishes Business Transaction between two types. One is that all involved works are treated as a whole, all the work is confirmed or none is, called Atom. The other can be determined by application intervention in the selection of the work to be finally confirmed, as Cohesion in BTP specification. BTP avoids the constraints on implementations choices, though it is quite suitable for Web Services. This thesis explains every BTP concepts and analyzes that which environment can use BTP .Through the analysis the thesis compares the similarities and differences between Business Transaction and traditional transaction. BTP considers Business Transaction patterns as trees and expatiates on how to coordinate these nodes in the tree pattern by exchanging BTP messages.After the BTP analysis, this thesis puts forward the implementation. The architecture is designed based on Object Oriented Design and Java open source technology. BTP defines enough messages to make sure consistency and failure recovery, but not gives the solution, this analysis answers it.
Table of contents
Abstract 4-6
ABSTRACT 6-10
first chapter 10-17
1.1 issues raised 10-12
the
collaboration between 1.1.1 enterprise transaction demand 10
1.1.2 traditional ACID transaction structure in 10-11
1.1.3 business transaction 11-12
1.2 transaction standards 12-16
1.2.1 standardization process 12-14
1.2.2 Business Transaction Protocol (BTP) 14-16
1.3 research content 16
1.4 I did work and articles structural arrangements 16-17
the
BTP protocol analysis 17-37
2.1 conceptual model 17-23
2.1.1 Business Affairs (Business Transaction) 17
2.1.2 Operational (External Effects) 17-18
2.1.3 two stage output (Two-phase outcome) 18-19
2.1.4 Executive and roles (Actors and roles) 19
2.1.5 superior-subordinate relationship (Superior: Inferior relationship) 19-20
2.1.6 business tree structure (Business Transaction Trees) 20-21
2.1.7 atoms and polymerization (Atoms and Cohesions) 21-23
2.1.8 Affairs participant, sub-coordinator and sub-combinations (Participants, Sub-Coordinators and Sub-Composers) 23
2.2 business transaction process 23-34
the 2.2.1 business transactions created 23-25
2.2.2 business affairs spread 25
2.2.4 feedback information (context-reply) 25-26
2.2.5 information exchange timing 26-30
2.2.7 determine the set (Confirm-set) 30-34
2.3 special circumstances and performance optimization 34-37
2.3.1 spontaneously ready 34-35
2.3.2 canceled 35
2.3.3-phase commit 35
2.3.4 subordinate spontaneous decision and contrary to superiors 35-37
the
BTP agreement related technologies 37-41
3.1 Java 5.0 37-39
3.1.1 java language advantages 37
3.1.2 java 5.0 features 37-39
3.2 use the XFire 39
3.3 JAXB2 39-41
Chapter the BTP transaction management system design 41-74
4.1 transaction management system business requirements analysis 41-42
4.2 transaction management system goals 42
4.3 overall framework design 42-50
4.3.1 protocol standard wsdl analysis 42-44
then
4.3.2 generates a message object and Web Service (wsdl to java) 44-47
the
functions and relations 4.3.3 three modules 47-48
4.3.4 asynchronous message interaction solutions 48-50
4.4 status conversion 50-64
4.4.1 event table 50-52
4.4.2 state definition table 52-55
4.4.3 state transition table 55-59
4.4.4 state redefinition 59-61
4.4.5 Cohesivehub module design 61-62
4.4.6 Controller module design 62-63
4.4.7 Participant module design 63-64
4.5 BTP transaction process 64-74
4.5.1 Travel Agent example 64-66
4.5.2 Service participants design 66-69
4.5.3 business transaction process control 69-74
Chapter the BTP transaction management system to achieve 74-93
5.1 transaction management to achieve 74-87
5.1.1 class structural design overview 74-76
5.1.2 the Handler class 76-79
5.1.3 the Active class 79-80
5.1.4 AtomActive class 80
5.1.5 CohesionActive class 80-81
5.1.6 Preparing class 81-82
5.1.7 Confirming and Cancelling classes 82
5.1.8 improve data consistency solution 82-86
5.1.9 Affairs recovery (Recovery) 86-87
5.2 transaction initiator to achieve 87-90
5.2.1 BusinessTransaction class 87-89
5.2.2 application-oriented class 89-90
5.3 Affairs to participate in the end to achieve 90-91
5.3.1 PlainParticipant class 90
5.3.2 PrivisonalParticipant class 90-91
5.4 independent service to achieve 91-93
Chapter 6 Conclusions and Prospects 93-94
6.1 system summarizes 93
6.2 system is inadequate and Prospects 93-94
the
References 94-95
Acknowledgements 95
Related dissertations
- The Credit Assessment of SMEs in the B2B Environment
- Study on Quick Response System for Apparel Supply Chain Based on Web Services
- Research on Personalized Information Service of Digital Library in the Cloud Computing Environment
- The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
- Design and Implementation of the Campus Network Application Based on SOA
- Design and implementation of temperature and humidity measurement and control system based on Internet
- Research and Application of Mobile Augmented Reality Interact with Web Service
- Research of Heterogeneous Database Integration Based on Web Service and XML
- Research on Database Legacy System Migration to the Integrated Web Service
- Data Exchange Services of the Group Enterprise and Its Applied Research
- Fraud Identification on B2B e-commerce Platform
- Design and Implementation of Picture Sharing Application System Based on iOS
- Design and Implementation of Digital Media Resources Collaborative Production Platform Based on SOA
- Research and Realization of University Equipment Management System Based on SOA
- 3D Accounting Training Platform Based on Flash Technology Design and Implementation
- Construction and Application of Technology of Biological Information Workflow
- The Research and Application of Warehouse Management System Based on SOA
- Two-Dimensional Code Verification Ticket System Based on Web
- With the Implementation of Emergency Management System Based on WEB Service
- Design and Implementation of Financial Management System of Lushang Group