THP -based Web services transaction processing research and prototype implementation
- Author
- HeDaoJu
- Advisor
- ZhouMingTian
- School
- University of Electronic Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 49
- Citations
- 0
Abstract
As a new generation of distributed computing pattern, Web service technology provides common programming interfaces and unified interoperability protocols for software system, which eliminates the difference of the operating system, programming language, and the underlying hardware structure, and improves the efficiency of software reusing and updating. With the development of Internet, the web transaction has become a hotspot issues, which calls for solutions for problems of transactional support of web services to guarantee the reliable accomplishment of web services and the consistency of system status.Web service transaction is different from traditional database transaction, which takes the interoperation as the core, rather than focuses on persistent data in databases. Because web transactions have distinct features,such as long-lived,autonomous and interactive,the traditional transaction mechanisms of resource locking and rollback are proved to be inappropriate. And web Service Transaction requires a reasonable architecture and the standards for coordinating messages between web services.For the coordination problems of transaction processing, this thesis reviews the past progress and important achievements in the research of transaction processing model, and point out the main problems of current research of this field. From the view of resource reservation and resource coordination, this thesis proposed a web service transaction processing model bases on THP through researching the existed problems in web transaction processing. The model combines THP protocol with WS-Transaction protocol to coordinate the transaction in web services. Coordinating resources before transaction executing, the model ensures the necessary resources while transaction executing and reduces transaction failure because of resource locking. Meanwhile, this thesis also designs the corresponding transaction coordination algorithm for atomic transactions and business transactions, and describes the state transition in detail. Then, the prototype system of transaction processing based on the standard architecture of web service is developed. This system supports extended transaction processing protocol, and provides unified user interface to deal with web request. The coordinator is applied in backend to deal with complicated business logic. Thus, it possesses the ability of coordinating short-lived transaction and long-running transaction, and can effectively solve the coordination problems in the environment of web services. Last, this thesis analyses the advantages and disadvantages of the web service transaction processing model system based on THP.
Table of contents
Abstract 4-5
ABSTRACT 5-10
Chapter Introduction 10-19
1.1 Background and Significance 10 - 11
1.2 research status 11-17
1.2.1 compensation mechanism 11-12
1.2.2 Web services transaction protocol 12 - 13
1.2.2.1 BTP protocol 12
1.2.2.2 WS-Transaction protocol family 12-13
1.2.2.3 WS-CAF 13 < br /> 1.2.3 transaction model 13-17
1.2.3.1 Sagas model 13-14
1.2.3.2 ACTA model 14-15 <br / > 1.2.3.3 BTP model 15-16
1.2.3.4 transaction processing model 16-17
1.3 research 17-18
1.4 paper structure 18
1.5 topics sources 18-19
Chapter resource reservation -based Web services transaction coordination algorithms 19-39
2.1 resources remain tentative agreement 19-22
2.1.1 THP protocol state transition diagram 19-20
2.1.2 THP transaction model 20-21
2.1.3 THP transaction model resource allocation algorithm 21-22
2.2 THP with the Web service transaction coordination mechanisms combined 22-38
2.2.1 Web service transaction coordination mechanisms 23
2.2.2 THP combined with 2PC protocol 23-30
2.2.2.1 THP 2PC protocol state diagram 23-25 ??
2.2.2.2 THP 2PC coordination algorithm 25-30
2.2.3 THP binding agreement with WS-Coordination/WS-BA 30-38
2.2.3.1 THP WS-C/BA protocol state transition diagram 30-32
2.2.3.2 THP WS-C/BA coordination algorithm 32-38
2.3 chapter Summary 38-39 <br / > Chapter Web services transaction processing prototype design and implementation 39-63
3.1 requirements Analysis 39-40
3.2 overall framework 40-45 <br / > 3.2.1 function module division 40-42
3.2.2 feature list 42-44
3.2.2.1 business transaction processing application interface module 42 < br /> 3.2.2.2 autonomous service coordination support module 42
3.2.2.3 business transaction processing core module 42-43
3.2.2.4 business transaction monitoring module 43-44
3.2.3 basic design idea 44-45
3.3 detailed Design and Implementation 45-62
3.3.1 nbsp business transaction processing core module ; 46-60
3.3.1.1 transaction lifecycle Management 46-49
3.3.1.2 atomic transaction support module 49-53
3.3.1.3 polymerization transaction support module 53-60
3.3.2 business transaction management and monitoring module 60-62
3.4 Summary 62-63
fourth Chapter Web services transaction processing model test 63-72
4.1 testing purposes 63
4.2 test environment 63-66
4.2.1 test preparation 63-64
4.2.2 system Configuration 64-66
4.2.2.1 coordinator configuration 64-66
4.2.2.2 participants configuration 66
4.2.2.3 initiator configuration 66
4.3 test 66-71
4.3.1 participant Services achieve 67 -70
4.3.2 application implements 70-71
4.3.3 test Results 71
4.4 Summary 71-72 <br / > Chapter Web services transaction processing model in regional cooperative medical application 72-79
5.1 regional Medical resource Co background 72
5.2 collaborative regional medical resources of the Web services 72-74
5.3 Web services transaction processing model in regional collaborative medical application 74-78
5.3.1 scene Description 74-75 <br / > 5.3.2 test environment and configuration 75-76
5.3.3 test 76-77
5.3.4 test results and analysis 77-78
5.4 Summary 78-79
Chapter VI Conclusion 79-81
6.1 summarizes research 79-80
6.2 under Previous work 80-81
Thanks 81-82
Appendix atomic transaction support test table 82-90
Appendix II polymerization Affairs support function test table 90-96
References 96-100
research achievements during the master 100-101
Related dissertations
- The Research on Optimization of China’s Financial Regulation System and the Coordination with Financial Structure
- The Separation and Coordination of Accounting and Bank Supervision
- Separation and Coordination of Accounting Report and the Banking Regulatory Report
- Coordination Research of Retailer-dominant Supply-Chain Competition under Demand Disruption
- Research on Rebate and Penalty Contract for Supply Chain Coordination
- Study on the Response Strategy of Demand Disruptions Based on Supply Chain Competition
- Research on Coordination of the Green Supply Chain Based on Contract Theory
- Study on Quick Response System for Apparel Supply Chain Based on Web Services
- Study on Coordination and Incentive of Closed-loop Supply Chain in the Condition of Different Channel and Information
- Agriculture Supply Chain Coordination Research Based on Option
- The Study on the Relevance Problem of China’s Financial Industry Structure and the Economic Growth
- Coordination Mechanism of the Economic Behavior of Local Governments in the Northeast Regional Economic Integration Process
- Regional Financial and Regional Economic Coordination Promotes Sustainable Development
- Study on the Relations of China’s Tax Revenue and Economic Growth
- Research on Human Resource Management of the Integrated Operation of Real Estate Development Project
- Research on the coordination of human resources and regional economic development in Liaoning
- Efficiency and Fairness Analysis of Introduction of Carbon Tax to China
- The Statistical Research on the Driving Relationship among Energy, Economy and Environment
- 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