September 2015
Intermediate to advanced
206 pages
4h 45m
English
Despite Tomcat being the default embedded container in Spring Boot, we are not limited to only one. Spring Boot provides you with ready-to-use starters for Jetty and Undertow as well, so we have a choice of containers.
If we decide that we want to use Jetty as our servlet container, we will need to add a Jetty starter to our build file.
build.gradle:configurations {
compile.exclude module: "spring-boot-starter-tomcat"
}compile("org.springframework.boot:spring-boot-starter-jetty") ...Read now
Unlock full access