Font Size: a A A

Design And Implementation Of An Object Transaction Middleware

Posted on:2009-05-24Degree:MasterType:Thesis
Country:ChinaCandidate:Z ZhongFull Text:PDF
GTID:2208360245460917Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
As the technology in computer science develops, some E-business based softwares or applications need to be transplanted between different computer platforms and should be insured with high reliabilities and efficiencies in data delivery. The emergence of transaction middleware can shield some of the complexities in OS layer and network protocols, however it is difficult to meet the requirements proposed by our customers or other developments, and considered to be lack of flexible and transplantable capabilities. The traditional transaction middleware only provides many special and costly APIs to control transaction operations, which may lead to our application losing flexibilities and performances especially the service-centered architecture emphasized. In addition, platforms dependent is another pitfall, because in traditional transaction middleware just as CICS can only work in mainframe. Suppose applications supported by CICS must be transplanted to another platform where CICS can not run, the result is cost much more to rebuild the project with another middleware, which can not be afforded by many enterprises and companies. So it needs to propose a new transaction style to radically solve the problems mentioned above.This dissertation presents an object-oriented based transaction pattern, designs and implements the OoTxM (Object-Oriented-Transaction-Middleware). In OoTxM all the transaction operations are encapsulated in transaction objects, which means that it can handle transactions by control these objects. This fully isolates the transaction operations and APIs in transaction middleware, where customers can define operations in transaction objects as they want, at last the flexibilities is totally improved.From a design perspective, the OoTxM is comprised of three layers(top-down): Application Layer,Transaction Core Layer,Storage Layer. With the implement of object serialization in the application layer, the remote users can use the transaction object proxy to send the requests to real transaction objects existing in transaction core layer to handle a transaction through the network; In order to implement the Explicit/ Implicit transaction, concurrent nested transaction and self-healing properties in OoTxM, transaction core layer snapshots, step-by-step stores and restores the transaction objects in cluster file system, and makes real transaction operations for the remote users at last, during the processing of transaction the objects storing utilities are provided by storage layer. Besides these, OoTxM also uses the XA distributed transaction protocol to implement the transactions proccessed in multiple data objects. In addition, OoTxM provides some extendable interfaces and utilities for further deveplopemts such as UDP based object delivery, seamlessly web-services access utilities. OoTxM is purely coded in Java, which guarantees the transplantable properties easily. The following sections will give a detailed instruction to the design and implement of OoTxM, at last this dissertation will provide some demo experiments on the Object-Oriented transactions and its utility functions.
Keywords/Search Tags:OoTxM(Object-Oriented-Transaction-Middleware), Reliable Transaction, Explicit/Implicit Transaction, Object Serialization
PDF Full Text Request
Related items