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

  • 59m
  • Jens Boje
  • Jens Boje
  • 2017

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.

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 with 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 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 pocket guide.

If you have questions, do not hesitate to contact me using the email address at the end of the book. I'll answer your questions and improve the book with your feedback.

About the Author

Actionable information that can change your life for the price of a pizza but lasts much longer.

Jens is a software architect, developer, father of a wonderful daughter, husband to a marvelous wife and minimalist. He loves exploring new things and making life better.

What he does not like are dogmatic beliefs, people stuck in dogmas and forcing themselves upon others.

He blogs about programming at codeboje.de and relaxation and personal development at how-to-relax.com.

In this Book

  • 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?

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 12189 users Rating 4.4 of 12189 users (12189)
Rating 4.5 of 1884 users Rating 4.5 of 1884 users (1884)