Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Creating Your First Spring Boot Microservice

via LinkedIn Learning

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.

Syllabus

Introduction
  • Build a microservice with Spring Boot
  • Using the exercise files
1. Create a Spring Boot Microservice
  • Introduction to Spring Initialzr
  • Project setup
  • Build, deploy, and launch the microservice
2. Leverage Spring Data JPA Repository Interfaces
  • 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
3. Expose RESTful APIs with Spring Data REST
  • 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
4. Expose RESTful APIs with Spring MVC
  • Choosing the right framework
  • Declaring a new RestController
  • Create RestController HTTP POST method
  • Create RestController HTTP GET methods
  • Create RestController HTTP PUT, PATCH, and DELETE methods
  • Paging and sorting DTOs
5. Pivot to a MongoDB NoSQL Data Source
  • Introduction to MongoDB
  • Spring Data MongoDB documents
  • Spring Data MongoDB repositories
  • Spring Data MongoDB microservice
Conclusion
  • Next steps

Taught by

Mary Ellen Bowman

Reviews

Start your review of Creating Your First Spring Boot Microservice

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.