Compensating Transaction Modelling for Web Services [ ]


Typical e-business transactions are Long transactions, or long-running transactions in nature. It always costs a long time, maybe one hour, one day, or longer, hereby the relative resources may be locked for a long time. An E-business transaction involves a number of partners, and comprises many failure points. In the web service environment, long transactions always take a long time to finish, which demands more resources that often keep the database item locked for a long time. This would bring down the performance of the transaction processing system. To deal with this issue the transactions are divided into sub transactions and executed independently. If one sub transaction failed and others are committed, the system needs to roll back other sub transactions. However rollbacks of committed transactions are not possible. The solution is to be a compensating transaction with reverse effects. This will improve the system efficiency by avoiding resources being locked for a long duration. When building a business process, most of the time spent in dealing failure points. No guidelines are available to deal with this issue. The objective of this project is to design compensation activities for an online shopping website, which is implemented as a web service. A resource-event-agent (REA)-based value modeling, is used for this purpose. It focuses on the resources, exchanged or transformed during a business activity, providing a useful metaphor to think about compensation. A three-step compensation design approach, implemented with the help of triggers is followed.