Formal modeling of RESTful systems using finite-state machines

  • Authors:
  • Ivan Zuzak;Ivan Budiselic;Goran Delac

  • Affiliations:
  • School of Electrical Engineering and Computing, University of Zagreb, Zagreb, Croatia;School of Electrical Engineering and Computing, University of Zagreb, Zagreb, Croatia;School of Electrical Engineering and Computing, University of Zagreb, Zagreb, Croatia

  • Venue:
  • ICWE'11 Proceedings of the 11th international conference on Web engineering
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Representational State Transfer (REST), as an architectural style for distributed hypermedia systems, enables scalable operation of the World Wide Web (WWW) and is the foundation for its future evolution. However, although described over 10 years ago, no comprehensive formal model for representing RESTful systems exists. The lack of a formal model has hindered understanding of the REST architectural style and the WWW architecture, consequently limiting Web engineering advancement. In this paper we present a model of RESTful systems based on a finite-state machine formalism. We show that the model enables intuitive formalization of many REST's constraints, including uniform interface, stateless client-server operation, and code-on-demand execution. We describe the model's mapping to a system-level view of operation and apply the model to an example Web application. Finally, we outline benefits of the model, ranging from better understanding of REST to designing frameworks for RESTful system development.