February 2018
Intermediate to advanced
356 pages
9h 10m
English
Before we start to change our REST layer, we need to add the new dependency to our pom.xml.
First, we will remove the Spring MVC traditional dependencies. To do this, we need to remove the following dependency:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId></dependency>
We do not need this dependency anymore. Our application will be reactive now. Then, we need to add the new dependencies described in the following code snippet:
<dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-native-epoll</artifactId></dependency><dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-webflux</artifactId></dependency> ...