- 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>
推薦閱讀
- 數據科學實戰手冊(R+Python)
- OpenStack Cloud Computing Cookbook(Third Edition)
- Instant Apache Stanbol
- Visual C++實例精通
- Processing互動編程藝術
- Hands-On Microservices with Kotlin
- Java:High-Performance Apps with Java 9
- 基于Struts、Hibernate、Spring架構的Web應用開發
- Android開發三劍客:UML、模式與測試
- Visual Basic程序設計(第三版)
- 人工智能算法(卷1):基礎算法
- Backbone.js Testing
- Node.js區塊鏈開發
- Python機器學習與量化投資
- Learning iOS Penetration Testing