The Research and Implementation of Transaction in Service-oriented Architecture
- Author
- FangYong
- Advisor
- LiuShuFen
- School
- Jilin University
- Major
- Computer System Architecture
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 56
- Citations
- 0
Abstract
With the deepening of the degree of enterprise information, resources and information sharing among enterprises has become an inevitable trend. A bridge between enterprises need to make this sharing of resources and information become a possibility. The emergence of SOA architecture and laid a solid foundation for the construction of the bridge. SOA, thinking more and more people are concerned about a lot of companies are positive the framework applied into practice. Enterprises in the actual implementation of them have encountered a number of problems, such as transaction processing in the SOA. SOA service its own characteristics make traditional transaction processing can not meet its needs, so the research in this area has become a hot topic. Of this research work is based on the major projects in Jilin Province - based on service-oriented model-driven integrated development platform. The project by the MDA (Model Driven Architecture) technology and SOA (service-oriented) architecture to build a rapid application development and application integration collaboration platform. This paper the design and implementation of transaction processing systems services in the platform, the platform needed to complete the transaction coordination and control work, to ensure the consistency of the state of the business applications running on the platform. This paper first introduces related concepts of SOA, by analyzing the characteristics of traditional affairs and business affairs of an SOA to traditional transaction methods can not meet the SOA transaction reason is the resource lock. Traditional transaction processing, a transaction operation prior to the completion of its required resources will be locked, so that the the other transaction operation can not use the resources. However, in a system based on SOA architecture, its affairs operation likely to not be completed in a short period of time, a long period of resource locking causes the system to enter a state of paralysis. Traditional ACID transactional properties for business transactions too strict, we need to be able to handle the long transaction model and protocol, and BTP protocol is one of them. BTP protocol transaction types are divided into two types, one is an atomic transaction, a polymerization affairs. While its abstracted into a business transaction a transaction tree control then its stratified affairs. The BTP protocol is a neutrality agreement, not for web services, and so on the basis of the theory in this article to be modified, given some of their own methods to design and implement the transaction processing system to be able to better service integration platform support. First, given a negative impact on the strategy to eliminate the provisional results. The strategy is as follows: If a transaction participants and other affairs of the participants and the start time of the transaction later in the other transaction, when the transaction is to be submitted, the need to wait for the other transaction commits before submission . While waiting for the other transaction commits, the transaction into the wait state. Through the the serialized transaction submission process to achieve the elimination of the negative impact of the interim results. Second, the proposed transaction node segmentation strategy. In this paper design and implement transaction processing systems, the use of multi-threaded JAVA technology to make an application unit can start more than one listener threads that an application unit time can correspond to multiple BTP node, the strategy can improve the system resource utilization. Third, non-recognized set of elements of autonomy strategy. Non-confirmation set of elements of the of a polymerizable transaction node BTP agreement whether the submission is confirmed by the node is submitted by the business applications. In the design and implementation of systems, a the polymerizable transaction node non confirm the concentration of the element with the default submission rules, the entire transaction execution state, as well as their own state to decide whether to commit or revoked. Judgment rule is: when the entire transaction can be submitted, if the non-confirmation centralized element can be submitted which would have to commit itself requires revocation will be revoked; When the need to revoke the entire transaction, regardless of confirmed non-centralized elements whether to submit the revocation should be carried out. The strategy can simplify the process of transaction commit. BTP protocol improvements can improve the system of transaction processing capabilities to enhance the usability of the system. After this paper was designed and implemented transaction processing systems in a service-oriented architecture (SOA). In this paper, a service agent to extend the current Web service function does not modify the business logic of the existing services based on its ability to add transaction processing. When the client using the system call interface services client SOAP message is received by the service agent. Service Agent will first parse the SOAP message received transaction context, after using java reflection mechanism to invoke the actual needs of the implementation of the method. And developers in the Service Agent business logic for a specific service to the preparation of their compensation operation, the method to improve the flexibility and scalability of the system. The system designed in this article may occur in the transaction process deadlock, deadlock occurs due to the introduction of a wait state for the transaction. When multiple transactions wait for each other, it is possible to enter a state of deadlock. Implementation of the system, through the deadlock prevention method to prevent the occurrence of the deadlock, prior to the implementation of a service, the system will first check for deadlock, if there is the possibility of deadlock, the service agent does not perform call method. Finally, through a specific application of this article to introduce this system design and implementation in practice.
Table of contents
Abstract 4-6
Abstract 6-10
Chapter 1 Introduction 10-13
1.1 Background and significance 10-11
1.2 This paper studies the content and article structure 11-13
1.2.1 This paper studies the field and the work 11
1.2.2 This article organizational structure 11-13
Chapter 2 SOA and knowledge of the transaction 13-24
2.1 SOA and its associated knowledge About 13-15
2.1.1 SOA concept 13-14
2.1.2 SOA computing environment architecture 14-15
2.2 transaction processing knowledge 15-19
2.2.1 transaction ACID properties and two-phase commit 16-18
the
affairs 2.2.3 SOA architecture processing 18-19
2.3 BTP agreement 19-24
2.3.1 BTP protocol defined 19-20
2.3.2 BTP protocol two-phase commit 20-24
Chapter 3 of the BTP protocol improvements 24-29
3.1 to eliminate the negative impact of the provisional results of the strategy 24-25
3.2 Affairs node segmentation strategy 25-27
3.3 non-recognized set of elements of autonomy strategy 27-29
Chapter 4 the SOA transaction processing system design 29-37
4.1 System Overview 29-30
4.2 system architecture 30-37
4.2.1 Service Agent (transaction participants) 31-33
4.2.2 Coordination Module 33-34
4.2.2.1 Affairs controller 33-34
4.2.2.2 Affairs registered 34
4.2.2.3 affairs auxiliary 34
4.2.3 transaction processing node 34-37
Chapter 5 SOA realization of the transaction processing system and application 37-55
5.1 technology 37-39
5.2 transaction processing node implementation 39-45
5.2.1 BTP node message transmission 40-41
5.2.2 BTP node state transition rules 41-45
5.3 Service Agent realization 45-49
5.3.1 Service Agent operating 47-48
5.3.2 deadlocks and resolve 48-49
5.4 transaction coordination module 49-52
5.5 system 52-55
Chapter 6 Summary and Outlook 55-56
the
References 56-59
the
author and the research results achieved during the study period 59-60
Acknowledgements 60
Related dissertations
- Design and Implementation of Guangxi Investment Group Coordination Office Automation System Based on the SOA
- Research and Design School in Formation Sharing Platform Based on SOA Technology
- Design and implementation of the system of service oriented campus information sharing
- The Research and Design of the Digital Power System Based on SOA
- Research on the Network Topology Multi-Scanning Data Organization and Distribution Technology
- Research on Web Services Access Control Technology in SOA Multi-domain Environment
- SOA righteousness based volunteer service management system development
- Research and Application of Soa Based Interface Model for Telecom Business Support System
- Research and implementation of application system of Deqing vehicle management based on SOA
- The Research and Design on the School Administrative Information Sharing Platform Supported by the SOA
- Research and Implementation of Text Processing System Based on SOA
- Shaanxi province education resources sharing and publishing platform design and Implementation
- The Design and Implementation of Sharing Moodle about the Teaching Ability of English Teachers in Middle and Primary School of Western Areas
- Design and implementation of practice process management system based on SOA
- Research and Application of Enterprise Application Integration Technology Based on Soa
- SOA Based University Information Management System Design and Implementation
- The Research and Realization of the Soa Method of College Students Work Management System Based on Hessian Protocol
- Design and Implementation of the Flood Risk Maps Information Management System Based on Web Services
- The research and design of enterprise PDM and ERP system integration manufacturing
- Research on Web Service Worklfow Transaction Model