REST: From Research to Practice, Springer, pp. 507-524
Abstract
There is considerable debate in the REST community whether or not transaction support is needed and possible. This chapter's contribution to this debate is threefold: we define a business case for transactions in REST based on the Try-Cancel/Confirm (TCC) pattern; we outline a very light-weight protocol that guarantees atomicity and recovery over distributed REST resources; and we discuss the inherent theoretical limitations of our approach. Our TCC for REST approach minimizes the assumptions made on the individual services that can be part of a transaction and does not require any extension to the HTTP protocol. A very simple but realistic example helps to illustrate the applicability of the approach.
Download
DOI: 10.1007/978-1-4419-8303-9_23
PDF: ▼rest-tcc.pdf (382KB)
Citation
- Guy Pardon, Cesare Pautasso, Towards Distributed Atomic Transactions over RESTful Services, In: REST: From Research to Practice, Springer, 2011, pp. 507-524