Skip to Content
RESTful Java Web Services - Third Edition
book

RESTful Java Web Services - Third Edition

by Balachandar Bogunuva Mohanram
November 2017
Intermediate to advanced
420 pages
10h 29m
English
Packt Publishing
Content preview from RESTful Java Web Services - Third Edition

Building Hypermedia As The Engine Of Application State (HATEOAS) APIs

We briefly covered this topic in Chapter 1, Introducing the REST Architectural Style, under the Hypermedia as the Engine of Application State (HATEOAS) section. 

Before we get into the details of the JAX-RS and Jersey offerings, let's take a step back to understand the need for HATEOAS APIs. When exposing operations to be performed on an entity via RESTful services, one of the key things that gets undermined is exposing the entity relationships to the consumer of the service. The flow on impact is that the consumer ends up hardcoding the logic in the client application.

Let's take the case of an online shopping cart application. Is it wise to allow the creation of an order ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

RESTful Java Web Services, Second Edition

RESTful Java Web Services, Second Edition

Jobinesh Purushothaman
Java Web Services

Java Web Services

David A Chappell, Tyler Jewell

Publisher Resources

ISBN: 9781788294041Supplemental Content