O'Reilly logo

Spring MVC Cookbook by Alex Bretet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Turning DTOs into Spring HATEOAS resources

This recipe presents how to create Spring HATEOAS resources. Even if the emphasis here is on one specific resource—IndexResource (in place of the former IndexOverviewDTO), feel free to browse cloudstreetmarket-api and cloudstreetmarket-core to discover more changes.

The HATEOAS principle has been applied at this stage to all the resources that make the core of our business, which strongly reflects the financial data structure of Yahoo! (indices, quotes, products, historical data, graphs, and so on).

How to do it…

  1. From the Git Perspective in Eclipse, checkout the latest version of the v6.x.x branch. Then, run a maven clean install command on the cloudstreetmarket-parent module (right-click on the Maven Clean ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required