CHAPTER 7
Versioning, Paging, and Sorting
In this chapter we will discuss:
- Strategies for versioning REST services
- Adding pagination capabilities
- Adding sorting capabilities
We all are familiar with the famous proverb “the only thing constant in life is change.” This applies to software development. In this chapter we will look at versioning our API as a way to handle such changes. Additionally, dealing with large datasets can be problematic especially when mobile clients are involved. Large datasets can also result in server overload and performance issues. To handle this, we will employ paging and sorting techniques and send data in manageable ...
Get Spring REST 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.