July 2018
Intermediate to advanced
268 pages
7h 36m
English
Even though Spring MVC is inherently blocking, some aspects can be made reactive by using reactive programming capabilities available as part of Spring 5.
In a Spring MVC controller, you can employ reactive types, Flux and Mono, as shown in the following diagram. The only rule is that you can use these reactive types only as the controller's return values:

Spring MVC annotations such as @Controller, @RequestMapping, and so on are also supported in Spring WebFlux. So converting a Spring MVC web application to Spring WebFlux can be done over a period ...
Read now
Unlock full access