Looking into Compensable Transactions
- 1 March 2007
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 154-166
- https://doi.org/10.1109/sew.2007.62
Abstract
Transaction is a lasting debatable issue, no matter in database systems or in the new paradigm of web services. Particularly, in the context of service oriented computing, business transactions usually require long periods of time to complete. In case of failure, the traditional approaches, e.g., rollback, are not applicable to handle errors during long running transactions. Instead, compensation is suggested to be an error recovery mechanism. Hence, a business transaction is programmed as a composition of a set of compensable transactions. Sequence and parallel are two standard primitives to put compensable transactions together into a bigger compensable one. Besides, there are other useful compositional constructs, such as speculative choice, exception handling, alternative forwarding, and programmable compensation. These constructs cannot only improve the responsiveness to environment but also enhance the capability for dealing with errors. In this paper, we introduce a transactional calculus in which compensable transactions can be composed in a variety of ways. It is equipped with a trace model which is carefully presented to provide a clear meaning for each transactional construct. In addition, algebraic properties are investigated by giving corresponding equational laws.Keywords
This publication has 7 references indexed in Scilit:
- Towards the Semantics for Web Service Choreography Description LanguagePublished by Springer Nature ,2006
- Theoretical foundations for compensations in flow composition languagesPublished by Association for Computing Machinery (ACM) ,2005
- Comparing Two Approaches to Compensable Flow CompositionPublished by Springer Nature ,2005
- Foundations of Web TransactionsPublished by Springer Nature ,2005
- A Framework for Generic Error Handling in Business ProcessesElectronic Notes in Theoretical Computer Science, 2004
- Extending the concept of transaction compensationIBM Systems Journal, 2002
- SagasPublished by Association for Computing Machinery (ACM) ,1987