Font Size: a A A

Research And Implementation Of Distributed Transaction System Based On Jms

Posted on:2011-12-16Degree:MasterType:Thesis
Country:ChinaCandidate:C L WangFull Text:PDF
GTID:2198330338485511Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Data redundancy plays an important role in applications of distributed database, with which distributed applications can get higher availability, reliability and querying efficiency. In order to maintain consistency of distributed database, especially the consistency of data which has many replicas, distributed applications need a reliable transaction processing technology to eusure consistency of distributed database during updating data replicas. Traditional distributed transaction processing technologies usually adopt a two-phase commit protocol to guarantee consistency, which depends on reliable communication condition. But these systems have some drawbacks when they are used in the unreliable networks.This thesis has studied theory of transaction processing in distributed database and theory of message queue. And then a distributed transaction processing system based on JMS is put forward and implemented. This system can process data updating transaction in distributed database with efficiency.The main contributions are as follows:Firstly, a distributed transaction processing framework based on JMS is put forward. The distributed transaction processing framework uses JMS message system to transmit transaction messages reliably, and processes data updating transaction in distributed databases asynchronously with unblocked mechanism. The framework has the advantages of tolerating to unreliable network environment. The data updating transaction won't be lost even failure of network communication happens.Secondly, the critical techniques of the distributed transaction processing framework based on JMS are researched.A one-phase commit protocol is put forward to overcome the shortcomings of two-phase commit protocol, which can processes transaction more efficiently and eliminates transaction blocking. A method of controlling the order of transactions based on logical time is designed, which can guarantee correctness of transaction processing sequence. Based on digital signature technology and digital envelop technology, a more secure scheme to transmit transaction messages is proposed. This scheme can enhance the security of the system evidently.Thirdly, a distributed transaction processing system based on JMS is implemented.This system, called ATPM_JMS, can shield complex process of transaction and network communication for applications of distributed database.At last, an example of using the distributed transaction processing system based on JMS is described.This thesis applies the distributed transaction processing system based on JMS for"Training information management system"of a large-scale training organization. ATPM_JMS can supply reliable transaction service for applications of distributed database and ensure consistency of distributed database.
Keywords/Search Tags:Distributed Database, Distributed Transaction, Transaction Processing Midddleware, Message-Oriented Middleware, JMS, Transaction Processing System
PDF Full Text Request
Related items