DEV Community

Nilanchal
Nilanchal

Posted on • Originally published at stacktips.com on

Replace Embedded Tomcat Server with Jetty or Undertow in Spring Boot3

One of the key features of the Spring Boot framework is the built-in support for embedded servers. It includes support for embedded Tomcat, Jetty, and Undertow servers. This means you don’t need any external web servers and no need to deploy WAR files anymore.

The embedded Tomcat server is available through the spring-boot-starter-web dependency.

However, if you want Jetty or Undertow servers then you can include spring-boot-starter-jetty or spring-boot-starter-undertow dependencies.

This video tutorial explains how to replace the default embedded Tomcat with Jetty or Undertow servers in your Maven or Gradle project.

Happy Learning!

Top comments (0)