SOA distributed transaction processing environment research
- Author
- HeYiZuo
- Advisor
- LanShaoHua
- School
- Nanjing University of Technology and Engineering
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 116
- Citations
- 2
Abstract
SOA is considered as a kind of popular software architecture nowdays,the systems are allowed to keep the characteristics of loose coupling between each other by establishing the reconfigurable service system.SOA can greatly improve the development productivity as well as reduce development cycle,which is a far-reaching significance for business integration. As transaction is an essential part of almost all business activity,the work flow which build upon the services will also need to keep a certain degree of consistency,so keeping transaction supportable during the SOA implements is highly important. This kind of ability to provide consistency among many data services is very important when customers transform to SOA.The SOA systems are highly heterogeneous,and the stateless services are loosely coupled, and also the business processes may run a long time and are widely spanned,all of these make the support of transaction in SOA very hard. The resources have to be locked prior to Commit to keep the strict ACID properties in the traditional distributed transaction model,which is impractical in the SOA environment. With the development of Web services technology, a number of extended transaction models and Web service transaction processing models are proposed to meet with the requirements of the web service transaction through the relaxation of the restrict ACID properties, but still can’t totally meet the SOA scenario. There’s still a lack of intensively used transaction processing model under the SOA enviroments.This article tried to propose a kind of SOA based distributed transaction model with the help of WS-Transaction standards as well as the transaction models that had already been put forward. Our goal was to try to make it meet with the requirements of the characteristics of the transaction flow under SOA,this model was also the prototype for a SOA based comopent we designed next. Different transaction commit protocols can be supported in a pluggable way,and also different kinds of SOA based transaction processes can be made realistic with the help of this component. we finally use functional tests to verify the validity of the component.
Table of contents
Abstract 3-4
Abstract 4-8
1 Introduction 8-12
1.1 research background and significance 8-10 < br /> 1.2 thesis work and organizational 10-12
2 distributed Transaction 12-26
2.1 basic concepts affairs 12
2.2 distributed Transaction Description 12-13
2.2.1 distributed Transaction characteristics 12-13
2.3 two -phase commit protocol 13-18
2.3.1 The two -phase commit protocol the main flow 14
2.3.2 two -phase commit protocol state machine theory describes 14-15
2.3.3 two phase commit protocol specific algorithm 15-17
2.3.4 two -phase commit protocol failure analysis of the situation 17-18
2.3.5 two -phase commit protocol problems 18
2.4 other distributed Transaction Agreement and the algorithm 18-19
2.4.1 three -phase commit protocol 18-19
2.5 on the two -phase commit protocol improved 19-26
2.5.1 two -phase commit protocol improved algorithm description 21-24
2.5.2 algorithm performance Analysis 24-26 <br / > 3 SOA environments distributed transaction 26-35
3.1 SOA and distributed transactions 26-30
3.1.1 SOA concepts 26
3.1.2 SOA and Web services 26-28
3.1.3 SOA significance 28-29
3.1.4 how to better implement SOA 29-30
3.2 SOA environment transactional flow characteristics 30-32
3.3 SOA services environment for the transformation of traditional transaction attribute general approach 32-34
3.3.1 reduce atomicity requirements 32-33
3.3.2 release quarantine restrictions 33
3.3.3 to change the original \; 33-34
3.4 Summary 34-35
4 SOA-based architecture for distributed transaction components SOABDTC 35-56
4.1 of the original solution perfect 35-39
4.2 WS-Transaction standard 39-44
4.2.1 Web service Collaboration (WS-Coordination) 39-42
4.2.2 Web services Meta treatment (WS-AtomicTransaction) 42-43
4.2.3 Web services business activities (WS-BusinessActivity) 43-44
4.3 SOABDTC components modeling 44-50
4.3.1 middleware-based design philosophy 45
4.3.2 interceptors and Pipeline design ideas 45-47 <br / > 4.3.3 state machine model 47-50
4.4 component Description 50
4.5 components overall architecture 50-53
4.5.1 coordination those modules 50-52
4.5.2 service container module 52-53
4.6 logic function relationships 53-55
4.6.1 modules interaction 53-55
4.7 chapter Summary 55-56
5 SOABDTC component implementation 56-73
5.1 development tools and runtime environment 56-57
5.2 SOABDTC main project components and classes overview 57-60
5.3 service interfaces and data type definitions 60-62
5.4 key classes and data structures 62-65
5.4.1 transaction Manager (Transaction Manager) 62-64
5.4.2 container Manager (ContainerManager) 64 -65
5.5 of the SOA components 65-72
5.5.1 using the state , Flyweight pattern to simulate the state machine 65-70
5.5.2 use Command pattern to implement applications and components interact 70-72
5.6 chapter Summary 72-73
6 component services based on our test 73-78 < br /> 6.1 of atomic testing 74-76
6.1.1 test Case AT-1: successfully submitted 75
6.1.2 test Case AT-2: global transaction fails , rollback 75-76
6.2 for business activities in the affairs of the test 76-78
6.2.1 test Case BA-1: Close 76 -77
6.2.2 test Case BA-2: compensation 77-78
7 Outlook and summary 78-80
7.1 summarizes research 78
7.2 the next step 78-80
Thanks 80-81
References 81-85
Appendix a SOABDTC execution WS-AT console output when successfully submitted 85-88
Related dissertations
- Research of Construction for the Enforcement Mechanism of Accounting Standards in China
- Shenzhen Telecom Peripheral Equipment Maintenance Service Process Reengineering and Information Technology to Achieve
- Research on Architecture of Command and Control System Based on SOA
- Design and Implementation of the Campus Network Application Based on SOA
- Chengdu Telecom Design and Implementation of CDMA Integrated Network Management System
- The Integration Study of Information System of Discrete Enterprise Based on FEAF
- Design and Implementation of Guangxi Investment Group Coordination Office Automation System Based on the SOA
- Document the OA System Approval Process Design
- Research on Database Legacy System Migration to the Integrated Web Service
- Design and Implementation of a SOA-based Operation Hour Assignment Management System
- Research and Implementatione of Secondary Development of the Corporate Units at the County Level Directory Database System
- Design and Implementation of Digital Media Resources Collaborative Production Platform Based on SOA
- Research and Implementation of the College Comprehensive Teaching Management Platform Based on Micro Cloud Computing Technology
- Research and Realization of University Equipment Management System Based on SOA
- Research and Implementation of Population Management Information System Based on SOA
- The Research and Application of Warehouse Management System Based on SOA
- Design and implementation of performance assessment system of government based on SOA
- The Research and Achievement of the Management System in the Notary Industry
- Design and Development of Collaborative Public Security and Police Information Platform for Liaoning Province
- Pengzhou City Development and Reform Bureau Planning and Project Management System Design and Implementation