You are previewing Spring in Action, Third Edition.

Spring in Action, Third Edition

Cover of Spring in Action, Third Edition by Craig Walls Published by Manning Publications

Chapter 11. Giving Spring some REST


This chapter covers
  • Writing controllers that serve REST resources
  • Representing resources in XML, JSON, and other formats
  • Writing REST clients
  • Submitting RESTful forms


Data is king.

As developers, we’re often focused on building great software to solve business problems. Data is just the raw materials that our software processes need to get their job done. But if you were to ask most business people which is most valuable to them, data or software, they’re likely to choose data. Data is the life’s blood of many businesses. Software is often replaceable. But the data gathered over the years can never be replaced.[1]

1 That’s not to say that software has no value. Most businesses would be severely handicapped ...

The best content for your career. Discover unlimited learning on demand for around $1/day.