A TIMESTAMP-BASED TWO PHASE COMMIT PROTOCOL FOR WEB SERVICES USING REST ARCHITECTURAL STYLE
Keywords:
Architectural style, concurrency control, REST, transaction, timestamp, web services, two phase commit protocolAbstract
Service Oriented Architecture allows development of software with requirements of in- teroperability and weak coupling. Nowadays WS-* is the most used SOAP-based spec- ification set for constructing web services. REST is an architectural style that permits the development of services in a simpler way than WS-* and obeys the SOA’s paradigm, however, it does not provide standardized support to address some non-functional re- quirements of services, such as, security, reliability, and transaction control. This article proposes a REST-based technique to support the web services transactional control implementation. The technique uses the timestamp method and two phase commit pro- tocol to control distributed systems transactions. An example of application using the technique is implemented to show its feasibility.
Downloads
References
W3C. Simple object access protocol (soap) 1.1, May 2000. http://www.w3.org/TR/2000/
NOTE-SOAP-20000508/.
W3C. Web services description language (wsdl) 1.1. Note, March 2001. http://www.w3.org/TR/
/NOTE-wsdl-20010315.
OASIS. Oasis web services security (wss) tc, February 2006. http://www.oasis-open.org/
committees/tc_home.php?wg_abbrev=wss.
OASIS. Oasis web services reliable messaging (wsrm) tc, November 2004. http://www.
oasis-open.org/committees/tc_home.php?wg_abbrev=wsrm.
OASIS. Oasis web services transaction (ws-tx) tc, July 2007. http://www.oasis-open.org/
committees/tc_home.php?wg_abbrev=ws-tx.
OASIS. Web services coordination (ws-coordination), July 2007. http://docs.oasis-open.org/
ws-tx/wscoor/2006/06.
Leonard Richardson and Sam Ruby. RESTful Web Services. O’Reilly & Associates, Sebastopol,
California, May 2007.
R. Fielding. Architectural Styles and the Design of Network-based Software Architectures. PhD
thesis, University of California, Irvine, USA, 2000.
Roger L. Costello. Building web services the rest way, s.d. http://www.xfront.com/
REST-Web-Services.html access date March 2008.
W3C. Naming and addressing: Uris, urls, ... http://www.w3.org/Addressing/URL/uri-spec.
html access date March 2008.
S. Ceri and G. Pelagatti. Distributed Databases, Principles and Systems. McGraw-Hill, 1985.
Leslie Lamport. Time, clocks, and the ordering of events in a distributed system. Communications
of the ACM, 21(7):558–565, July 1978.
G. Coulouris, J. Dollimore, and T. Kindberg. Distributed Systems, concepts and design. Addison-
Wesley, 4th edition, 2005.
P. A. Bernstein and N. Goldman. Concurrency control in distributed database systems. ACM
Computing Surveys, 13(2):185–221, June 1981.
J. Gray. The transaction concept: Virtues and limitations. In Proc. Int’l. Conf. on Very Large
Data Bases, page 144, Cannes, France, September 1981.
Henry F. Korth, Eliezer Levy, and Abraham Silberschatz. A formal approach to recovery by com-
pensating transactions. In VLDB ’90: Proceedings of the 16th International Conference on Very
Large Data Bases, pages 95–106, San Francisco, CA, USA, 1990. Morgan Kaufmann Publishers
Inc.
L. A. Hiane S.Maciel and Celso M. Hirata. An optimistic technique for transactions control using
REST architectural style. In Sung Y. Shin and Sascha Ossowski, editors, SAC, pages 664–669.
ACM, 2009.