Let us now use the reactive view implementation that can render reactive stream data using Spring Boot:
- Just as in the previous recipe, the only requirement for creating a full-blown reactive Spring 5 application is Spring Boot's webflux starter POM dependency. Also include the embedded Tomcat server as our official reactive server:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-webflux</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-reactor-netty </artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> </dependency> ...