WebFlux Async Non-Blocking Communication

In the previous chapter, we started to take a look at Spring Boot 2.x. We saw that a lot of useful updates and modules have arrived with the fifth version of the Spring Framework, and we also looked at the Spring WebFlux module.

In this chapter, we are going to take a look at that module in detail. We will compare the internal design of WebFlux with good old Web MVC and try to understand the strengths and weaknesses of both. We are also going to build a simple web application with WebFlux.

This chapter covers the following topics:

  • A bird's-eye view of Spring WebFlux
  • Spring WebFlux versus Spring Web MVC
  • A comprehensive design overview of Spring WebFlux

Get Hands-On Reactive Programming in Spring 5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.