【转】为什么很多 SpringBoot 开发者放弃了 Tomcat,选择了 Undertow?

为什么很多 SpringBoot 开发者放弃了 Tomcat,选择了 Undertow?

        <!--Spring WEB支持-->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-starter-tomcat</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!--Undertow Web Server replace tomcat-->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-undertow</artifactId>
        </dependency>

 

posted @ 2020-02-22 13:18  —八戒—  阅读(305)  评论(0)    收藏  举报