Chapter 8. REST and Addressable Services

Rest and be thankful.

Inscription at a rest stop along Scotland’s Highway A83

The concepts guiding the makeup of the modern Web could be considered a happy accident, or at least an implementation of ideas that had general applicability far beyond their initial design criteria. In the late 1980s we had the hardware and software necessary for networking; these were low-level tools for transmitting data from one computer to another. We even had some payload protocols and application layers available including IRC for chat, POP for email, and Usenet for general discussions. We were communicating, albeit over relatively constrained channels.

Out of necessity for his own research, Tim Berners-Lee of the European Organization for Nuclear Research (CERN) concocted a small recipe for publishing documents in a manner that would make his findings more accessible between departments and encourage updates over time. Called the “WorldWideWeb” (WWW), this project proposed a series of simple constructs:

Addressable resources
A unique key or address assigned to each document
A unidirectional pointer to an addressable resource
A client program capable of reading hypertext-enabled documents

We take these concepts lightly now, but it’s worthwhile considering the paradigm shift this evoked in the early 1990s; in only 10 years’ time, most of the world’s university students and many homes were connected to a Web that contained a marketing ...

Get Continuous Enterprise Development in Java now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.