July 2026
Intermediate
538 pages
11h 47m
English
In the previous chapter, we worked with a reactive model to handle concurrency through a non-blocking approach. While powerful and efficient, the reactive model introduces additional complexity in how code is written, composed, and understood.
Virtual threads became final in Java 21 through Project Loom, after preview releases in Java 19 and Java 20. They offer an alternative for building highly concurrent applications with a simpler, familiar imperative programming model.
Building upon what we have seen so far, this chapter explores how virtual threads simplify concurrent programming in Spring Boot.
In this chapter, we'll be covering the following topics:
Read now
Unlock full access