Skip to main content

RESTful Domain Application Protocols

  • Chapter
  • First Online:

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.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    This example simplifies the set of interactions encountered in a real-world application in order to highlight the key points in protocol design.

  2. 2.

    The term “domain application protocol” and the three-step design methodology described here were first proposed in Webber et al. (2010). We chose the term “domain application protocol” so as to align it both with the book’s focus on automating business (domain) processes, and with our use of the terms “application” and “application state.” A domain application protocol is more commonly referred to as a coordination protocol: see, for example, Alonso et al. (2004).

  3. 3.

    See Chap. 5, “Hypermedia Types,” for a more thorough, and more nuanced, discussion of hypermedia control capabilities.

  4. 4.

    Restbucks served as the basis for the examples in Webber et al. (2010).

  5. 5.

    This is an example of a one-time URI. See Allamaraju (2010) for more details of generating one-time URIs.

References

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ian Robinson .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer Science+Business Media, LLC

About this chapter

Cite this chapter

Robinson, I. (2011). RESTful Domain Application Protocols. In: Wilde, E., Pautasso, C. (eds) REST: From Research to Practice. Springer, New York, NY. https://doi.org/10.1007/978-1-4419-8303-9_3

Download citation

  • DOI: https://doi.org/10.1007/978-1-4419-8303-9_3

  • Published:

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-1-4419-8302-2

  • Online ISBN: 978-1-4419-8303-9

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics