The choice of an embedded server is a matter of preference or specific requirements. Spring Boot allows you to easily switch between embedded servers by changing the project's dependencies. For example, if you want to use Jetty instead of Tomcat, you can add the Jetty dependency in your pom.xml or build.gradle file: For Maven: XML org.springframework.boot spring-boot-starter-jetty For Gradle: Plaintext // Jetty Embedded Server implementation 'org.springframework.boot:spring-boot-starter-jetty' You can run your Spring Boot application, and it will use Jetty as the embedded server. The same approach can be used for other embedded servers supported by Spring Boot, such as Undertow. Reference: Spring Boot Embedded Servers