July 2026
Intermediate
538 pages
11h 47m
English
In the previous chapter, we learned how to write a reactive web controller using Spring WebFlux. We loaded it with canned data and used a reactive templating engine, Thymeleaf, to create an HTML frontend. We also created a reactive API with pure JSON and then with hypermedia using Spring HATEOAS. However, all of that was backed by canned, in-memory data.
In this chapter, we take the next step by introducing a reactive data layer. We'll see what it means to fetch data reactively and why non-blocking database access is essential to preserve the scalability of a reactive system. We'll also examine the limitations of traditional blocking approaches and how they can undermine performance.
From there, we'll choose a ...
Read now
Unlock full access