Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Microservices with Spring Boot and Spring Cloud
  • Table Of Contents Toc
Microservices with Spring Boot and Spring Cloud

Microservices with Spring Boot and Spring Cloud - Fourth Edition

By : Magnus Larsson AB
5 (1)
close
close
Microservices with Spring Boot and Spring Cloud

Microservices with Spring Boot and Spring Cloud

5 (1)
By: Magnus Larsson AB

Overview of this book

Do you want to build and deploy microservices but are unsure where to begin? Check out the fully updated 2025 edition of Microservices with Spring Boot and Spring Cloud. Drawing from Magnus’ decades of experience, you’ll start with simple microservices and progress to complex distributed applications, learning essential functionality and deploying microservices using Kubernetes and Istio along the way. This book covers Java 24, Spring Boot 3.5, and Spring Cloud 2025, featuring updated code examples and replacing deprecated APIs. You’ll get a clear understanding of Spring’s Ahead of Time (AOT) module, observability, distributed tracing, and Helm for Kubernetes packaging. The chapters show you how to use Docker Compose to run microservices with databases and messaging services and deploy microservices on Kubernetes with Istio. You’ll also explore persistence, resilience, reactive microservices, and API documentation with OpenAPI, as well as learn service discovery with Netflix Eureka, edge servers with Spring Cloud Gateway, and monitoring with Prometheus, Grafana, and the EFK stack. By the end of this book, you’ll be able to confidently build scalable microservices using Spring Boot and Spring Cloud.
Table of Contents (30 chapters)
close
close
Lock Free Chapter
1
Getting Started with Microservice Development Using Spring Boot
9
Leveraging Spring Cloud to Manage Microservices
17
Developing Lightweight Microservices Using Kubernetes
28
Other Books You May Enjoy
29
Index

Native Compiled Java Microservices

In this chapter, we will learn how to compile the Java source code in our microservices into binary executable files, known as Native Images. A Native Image starts up significantly faster compared to using a Java VM and is also expected to consume less memory. We will be introduced to the Spring AOT engine introduced in Spring Framework 6 and the GraalVM project and its Native Image compiler, and learn how to use them.

We will cover the following topics:

  • When to natively compile Java source code
  • Introducing the GraalVM project and Spring’s AOT engine
  • Handling problems with native compilation
  • Testing and compiling Native Images
  • Testing with Docker Compose
  • Testing with Kubernetes

Even though Spring Framework 6 and Spring Boot 3 come with General Availability (GA) support for building native executables of Spring Boot applications, it must be considered as being in an early stage. At...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Microservices with Spring Boot and Spring Cloud
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon