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

Unlock the full course today

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

HATEOAS and the frontend

HATEOAS and the frontend

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

Start my 1-month free trial

HATEOAS and the frontend

- [Instructor] So far we have seen how to implement hypermedia links on the back end by adding them to the HTTP header or the resource representation itself. Now you will learn how a front end might use those links in order to take advantage of the dynamic nature of HATEOAS. There are various ways we can utilize hypermedia links on the front end, and to a large extent it depends on the technology we are using. As you know in this project we are using Java and JSF so I will focus on the ways we are using hypermedia links in this technology. So in our project we are using the JAX-RS client API to call end points and we have implement this logic in the book service implementation class. And this is where we're going to implement the logic that determines the end point to call.

Contents