From the course: Java EE: RESTful Service with JAX-RS 2.0

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Work with HATEOAS

Work with HATEOAS

From the course: Java EE: RESTful Service with JAX-RS 2.0

Start my 1-month free trial

Work with HATEOAS

- [Narrator] In this video you're going to learn about HATEOAS and how it can be implemented in two different ways in the JaxOS application. So what is HATEOAS? Well first off, it stands for Hypermedia As The Engine of Application State. But what does this really mean? Well what it means in practical terms is that a client is given a way to navigate through and API purely by using hypermedia. This is often in the form of http links generated by an API's backend application. The overreaching objective is to decouple the client from the application in such a way that the application can change independently of the client. Okay, that might sound a little confusing so let's walk through few examples to see how this might work. So here we have a simplified Book resource which is represented by the JSON data string here. You have already learned that this JSON representation of a book is obtained by the client when it makes a GET request to this URL. But what URI does the application need…

Contents