Summary

Over the course of this chapter, we found out about the Data-Transfer-Object design pattern. We looked at good practices for designing responses, and how to control their format. Finally, we discussed versioning and how it can be used in practice to manage API evolutions.

It is now time to move on with the implementation of our sample property management system web service. In the next chapter, we will delve into how CRUD operations can be handled in a RESTful web service with Spring Web.

Get Building a RESTful Web Service with Spring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.