July 2018
Intermediate to advanced
268 pages
7h 36m
English
Our sample application uses Spring Boot. Spring WebFlux runs on a Reactor Netty server within Spring Boot by default. Our Spring Boot class is very basic and is as follows:
@SpringBootApplicationpublic class Run { public static void main(String[] args) { SpringApplication.run(Run.class, args); }}
You can run the application on any other server, apart from Spring Boot, and it is quite easy to achieve. We have a separate project named spring-boot-tomcat-webflux that runs on Spring Boot, but rather than running on Reactor Netty, it runs on a Tomcat server.
No change is required in any part of the code, apart from pom.xml:
<!--Spring Framework and Spring Boot--><dependency> <groupId>org.springframework.boot</groupId> ...
Read now
Unlock full access