Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Creating Your First Spring Boot Microservice

Creating Your First Spring Boot Microservice

1h 48mIntermediate2019-12-04

Authors

Mary Ellen Bowman

Mary Ellen Bowman

25+ years of full life-cycle software development experience

Course details

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.

Learning objectives
Setting up the project
Building, deploying, and launching the microservice
Declaring Spring Data JPA repository interfaces
Invoking repositories
Using Spring Data query methods
Exposing RESTful APIs with Spring Data REST
Using the /search resource to invoke query methods
Paging and sorting
Declaring a new RESTController
Creating HTTP methods for updating and deleting data
Migrating microservices to a MongoDB repository

Skills covered

Spring FrameworkSpring BootSpringSoftware ArchitectureJavaWeb Development ToolsOracleProjectWeb DevelopmentOpen SourceSoftware Development

Concepts

0. Introduction

  • 01 - Build a microservice with Spring Boot
  • 02 - Using the exercise files

1. Create a Spring Boot Microservice

  • 03 - Introduction to Spring Initialzr
  • 04 - Project setup
  • 05 - Build, deploy, and launch the microservice

2. Leverage Spring Data JPA Repository Interfaces

  • 06 - The domain model
  • 07 - The JPA entities
  • 08 - Declare Spring Data JPA repository interfaces
  • 09 - Spring Data JPA repository dependency injection
  • 10 - Invoking the Spring Data JPA repositories
  • 11 - Introduction to Spring Data query methods

3. Expose RESTful APIs with Spring Data REST

  • 12 - What is a hypermedia-driven RESTful API
  • 13 - Creating APIs with Spring Data REST
  • 14 - Explore the search resource
  • 15 - Paging and sorting
  • 16 - Controlling API exposure
  • 17 - HAL Browser

4. Expose RESTful APIs with Spring MVC

  • 18 - Choosing the right framework
  • 19 - Declaring a new RestController
  • 20 - Create RestController HTTP POST method
  • 21 - Create RestController HTTP GET methods
  • 22 - Create RestController HTTP PUT, PATCH, and DELETE methods
  • 23 - Paging and sorting DTOs

5. Pivot to a MongoDB NoSQL Data Source

  • 24 - Introduction to MongoDB
  • 25 - Spring Data MongoDB documents
  • 26 - Spring Data MongoDB repositories
  • 27 - Spring Data MongoDB microservice

Conclusion

  • 28 - Next steps

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
Zarinpal
Zibal