Creating Your First Spring Boot Microservice
Overview
Spring-load your Java development. Learn how to use Spring Boot and Spring Data to deliver back-end microservices to consumers of RESTful APIs.
Turbocharge your back-end Java RESTful API development with Spring Boot and Spring Data technologies. This course is intended for experienced Java developers who want to rapidly build microservices that connect with relational databases via the Java Persistence API (JPA). Here, Mary Ellen Bowman walks you through a step-by-step process for building a microservice with an exposed RESTful API featuring HATEOAS, paging, and sorting. Learn about technologies such as Spring Boot, Spring Data JPA, and Spring Data REST, and see how they all come together into smart and elegant solutions. To wrap up, Mary Ellen guides developers in migrating a microservice to a MongoDB data source.
Turbocharge your back-end Java RESTful API development with Spring Boot and Spring Data technologies. This course is intended for experienced Java developers who want to rapidly build microservices that connect with relational databases via the Java Persistence API (JPA). Here, Mary Ellen Bowman walks you through a step-by-step process for building a microservice with an exposed RESTful API featuring HATEOAS, paging, and sorting. Learn about technologies such as Spring Boot, Spring Data JPA, and Spring Data REST, and see how they all come together into smart and elegant solutions. To wrap up, Mary Ellen guides developers in migrating a microservice to a MongoDB data source.
Syllabus
Introduction
- Build a microservice with Spring Boot
- Using the exercise files
- Introduction to Spring Initialzr
- Project setup
- Build, deploy, and launch the microservice
- The domain model
- The JPA entities
- Declare Spring Data JPA repository interfaces
- Spring Data JPA repository dependency injection
- Invoking the Spring Data JPA repositories
- Introduction to Spring Data query methods
- What is a hypermedia-driven RESTful API?
- Creating APIs with Spring Data REST
- Explore the /search resource
- Paging and sorting
- Controlling API exposure
- HAL Browser
- Choosing the right framework
- Declaring a new RestController
- Create RestController HTTP POST method
- Create RestController HTTP GET methods
- Create RestController HTTP PUSH, PATCH, and DELETE methods
- Paging and sorting DTOs
- Introduction to MongoDB
- Spring Data MongoDB documents
- Spring Data MongoDB repositories
- Spring Data MongoDB microservice
- Next steps
Taught by
Mary Ellen Bowman
Related Courses
Reviews
0.0 rating, based on 0 reviews