Introduction to the Reactive Backend
Get familiar with the reactive web server you will be building using Spring WebFlux.
We'll cover the following
Reactive web server
In this chapter, you’ll learn how to develop the reactive web server. We’ll use Spring WebFlux, available since Spring 5 and included from the Spring Boot 2.3 version. We’ll connect to a Mongo database using its reactive driver with Spring Data, also via Spring Boot.
Two approaches
We’ll include two different web approaches within the same backend application:
- A reactive style, using WebFlux and a MongoDB ReactiveCrudRepository.
- The classical Spring Web MVC stack, using a blocking REST controller and a blocking MongoDB query.
Get hands-on with 1400+ tech skills courses.