February 2018
Intermediate to advanced
356 pages
9h 10m
English
We will make some fixes on the REST layer as well. We changed the service layer, and it caused some compilation problems in our resources classes.
We need to add the new dependency, spring-web-reactive. This supports the @Controller or @RestController annotations for the reactive non-blocking engine. The Spring MVC does not support the reactive extensions, and this module enables developers to use reactive paradigms, as they did before.
spring-web-reactive will change many contracts on the Spring MVC foundations, such as HandlerMapping, and HandlerAdapter, to enable reactive foundations on these components.
The following image can help us to better understand the Spring HTTP layers:
As we can see, @Controller and ...