0%

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.

What You Will Learn

  • 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

Who This Book Is For

Intermediate Java programmers with at least some prior experience with Spring and web/cloud application development.

Table of Contents

  1. Cover
  2. Front Matter
  3. 1. Introduction to REST
  4. 2. Spring Web MVC Primer
  5. 3. RESTful Spring
  6. 4. Beginning QuickPoll Application
  7. 5. Error Handling
  8. 6. Documenting REST Services
  9. 7. Versioning, Paging, and Sor ting
  10. 8. Security
  11. 9. Clients and Testing
  12. 10. HATEOAS
  13. Back Matter
3.16.135.225