Spring Boot 2: How to Get Started and Build a Microservice, Third Edition

  • 1h 3m
  • Jens Boje
  • Jens Boje
  • 2019

From Zero Spring Experience to Building Your First Microservice with Spring Boot 2

Learn to build your first microservice with Spring Boot. Together we will write a production-ready microservice with a REST API in just a few hours. All starting from having zero experience with Spring at all.

Revised and extended 3rd edition

Update: Using Spring Boot 2.1.8.RELEASE version.

Our guides give you brief lessons on a single topic to get you started in no time. We leave the fluff out so you can focus and learn better and faster. Stop wasting hours of your life watching video courses or reading boring compendiums. Use our guide and save your precious time and be way ahead of your competitors on that next big project.

We build a real application (less than 850 lines of code though) using a standard Maven project structure together, and I will explain you the steps and libraries involved on the go. You must know Java.

You learn best by coding. The way I love learning too. And not by reading fluffy compendiums or watching 10 hours and more of videos. Sure, you can do that, but any developer following my guide will be way ahead of you before you are even halfway through that video course.

What you will build:

We build a Microservice for storing comments and providing a REST interface for interacting with the data. The sample application is modeled after a real production application to guide you through building your first Spring Boot application.

What you will learn:

  • What problem the Spring Framework actually solves
  • The basics of the Spring Framework aka Core
  • How to build a microservice with Spring Boot 2
  • How to work with a relational database using the Spring Data JPA Framework
  • How to write the REST API using Spring MVC
  • How to create a service layer and integrate a legacy library using its own Spring ApplicationContext in an XML file
  • How to test the application
  • A simple way to secure your application
  • How to use monitoring and health check out of the box with Spring Boot
  • How to deploy your application
  • How to navigate in the project with Maven

You must have experience with Java as we are not covering Java basics. Everything else we use is covered in the guide.

In this Book

  • Readme
  • Introduction
  • Understanding Spring Core
  • What is Spring Boot?
  • Data Access Layer with Spring Data JPA
  • Implementing the Service Layer
  • Implementing the REST API
  • Logging
  • HealthCheck and Metrics
  • Deployment of Our Microservice
  • Where to Move Forward?
  • Training and Coaching for Teams
  • Move Your Microservice to the Next Level
  • Integrate Your API with a Single-Page Application
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 4.7 of 123 users Rating 4.7 of 123 users (123)
Rating 4.5 of 194 users Rating 4.5 of 194 users (194)