Chapter

REST: From Research to Practice

pp 61-91

Date:

RESTful Domain Application Protocols

* Final gross prices may vary according to local VAT.

Get Access

Abstract

This chapter discusses the significance of domain application protocols in distributed application design and development. Describing an application as an instance of the execution of a domain application protocol, it shows how we can design RESTful APIs that allow clients to drive the execution of a domain application protocol without binding to the protocol itself. The second half of the chapter provides a step-by-step example of a RESTful procurement application; this application realizes a procurement protocol in a way that requires clients to couple simply to media types and link relations, rather than to the protocol.