Design and develop Java-based RESTful APIs using the latest versions of the Spring MVC and Spring Boot frameworks. This book walks you through the process of designing and building a REST application while delving into design principles and best practices for versioning, security, documentation, error handling, paging, and sorting.
Spring REST provides a brief introduction to REST, HTTP, and web infrastructure. You will learn about several Spring projects such as Spring Boot, Spring MVC, Spring Data JPA, and Spring Security, and the role they play in simplifying REST application development. You will learn how to build clients that consume REST services. Finally, you will learn how to use the Spring MVC test framework to unit test and integration test your REST API.
After reading this book, you will come away with all the skills to build sophisticated REST applications using Spring technologies.
You will:
Build Java-based microservices, native cloud, or any applications using Spring REST
Employ Spring MVC and RESTful Spring
Build a QuickPoll application example
Document REST services, as well as versioning, paging, and sorting
Test, handle errors and secure your application