Spring REST: Building Java Microservices and Cloud Applications

  • 2h 27m
  • Balaji Varanasi, Maxim Bartkov
  • Apress
  • 2021

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

About the Author

Balaji Varanasi is a software development manager and technology entrepreneur. He has over 13 years of experience architecting and developing Java/.Net applications and, more recently, iPhone apps. During this period he has worked in the areas of security, web accessibility, search, and enterprise portals. He has a Master s Degree in Computer Science and serves as adjunct faculty, teaching programming and information system courses. When not programming, he enjoys spending time with his lovely wife in Salt Lake City, Utah.

Maxim Bartkov is a staff engineer with more than seven years of commercial experience in Java. Maxim specializes in building architecture for high-load systems. He is skilled in the development of Distributed High-Load Systems, Microservice architecture, Spring Framework, System Architecture, and In-Memory Data Grid (IMDG). In his spare time, he writes articles for the Java community.

In this Book

  • Introduction
  • Introduction to REST
  • Spring Web MVC Primer
  • RESTful Spring
  • Beginning QuickPoll Application
  • Error Handling
  • Documenting REST Services
  • Versioning, Paging, and Sor ting
  • Security
  • Clients and Testing