The reactive web and MVC frameworks

As we might remember, the key feature of the Spring Web MVC module is its annotation-based programming model. The central challenge, therefore, is providing the same concept for the reactive web stack. If we look at the current Spring Web MVC module, we can see that, in general, the module is designed properly. Instead of building a new reactive MVC infrastructure, we may reuse the existing one and replace synchronous communication with reactive types such as Flux, Mono, and Publisher. For example, two central interfaces for mapping requests and binding contextual information (such as headers, query parameters, attributes, and sessions) to the handler that have been found are HandlerMapping and HandlerAdapter ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.