SpringWebFlux for Microservices

Up until this point, we have discussed Reactor as a standalone framework. We have also seen how we can build publishers and subscribe to them. Reactor  is well suited to handling the exchanging of large volumes of data, but it is important to note that Reactor is not limited to standalone programming only; it can also be used to build web applications.

Traditionally, we built enterprise-grade web applications using the SpringMVC framework, a synchronous and blocking framework from the Spring ecosystem. SpringMVC can also serve asynchronous non-blocking data using Servlet 3.1, but then it moves away from the concepts of request mappers and filters. This makes the framework quite difficult to work with. Furthermore, ...

Get Hands-On Reactive Programming with Reactor now with O’Reilly online learning.

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