Spring Boot: How to Get Started and Build a Microservice

  • 31m
  • Jens Boje
  • Jens Boje
  • 2017

Learn to build your first Spring Boot application with an actionable and hands-on approach in just a few hours!

Learning new technology can be fast and fun. With this custom tailored learning plan you get a head start and learn step by step to build microservices with Spring Boot by actually building one.

In a few hours, you have built your first microservice with Spring Boot and moved to a new level while other developers are still wading through hundreds of pages of a fluffy compendium telling them everything about Spring Boot and still leaving them back with no clue.

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.

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:

  • How to build a microservice with Spring Boot 1.5.x
  • 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 you application
  • How to use monitoring and health check out of the box with Spring Boot
  • How to deploy your application

This book is for you when

  • you have experience with Java and want to learn Spring Boot
  • you already work with the Spring Framework, but you are new to Spring Boot
  • you love building applications and learning new technologies

It is NOT for you if

  • your most advanced program was HelloWorld
  • you like reading fluffy compendiums
  • you don't know the Java language at all

And if you have questions, do not hesitate and 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

A long time ago, Jens had a battle in Winter Games with a C128, and he did win. That was the dawn of his passion about computers and lead to developing software. Later he turned that into his full-time job and has now been developing applications for small to Fortune 500 companies for 17+ years now; mainly in Java world.

In this Book

  • Introduction
  • 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
  • Thank You

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)