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 ...

Get Spring in Action, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.