目录

  • 区别

区别

对于servlet堆栈应用程序,spring-boot-starter-web通过包含spring-boot-starter-tomcat来包括Tomcat,但是可以改用spring-boot-starter-jetty或spring-boot-starter-undertow。
对于反应堆应用程序,spring-boot-starter-webflux通过包含spring-boot-starter-reactor-netty来包含Reactor Netty,但是我们可以使用spring-boot-starter-tomcat,spring-boot-starter-jetty或spring -boot-starter-undertow代替。

参考:Spring Boot Starter Web

更多推荐

spring-boot-starter-web与spring-boot-starter-webflux区别