- Spring Microservices
- Rajesh RV
- 39字
- 2021-07-02 16:28:31
Changing the default embedded web server
Embedded HTTP listeners can easily be customized as follows. By default, Spring Boot supports Tomcat, Jetty, and Undertow. In the following example, Tomcat is replaced with Undertow:
<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> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-undertow</artifactId> </dependency>
推薦閱讀
- Mastering Adobe Captivate 2017(Fourth Edition)
- Android 7編程入門經典:使用Android Studio 2(第4版)
- Learn Scala Programming
- Mastering Python High Performance
- Teaching with Google Classroom
- Hands-On Nuxt.js Web Development
- Getting Started with Python and Raspberry Pi
- Python入門很輕松(微課超值版)
- PHP 7從零基礎到項目實戰
- Simulation for Data Science with R
- Java自然語言處理(原書第2版)
- SAS編程演義
- HTML5程序設計基礎教程
- MySQL數據庫教程(視頻指導版)
- Raspberry Pi Robotic Projects