- 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>
推薦閱讀
- Hyper-V 2016 Best Practices
- Docker技術(shù)入門與實(shí)戰(zhàn)(第3版)
- C和C++安全編碼(原書第2版)
- 深入淺出DPDK
- TypeScript實(shí)戰(zhàn)指南
- Java軟件開發(fā)基礎(chǔ)
- Hands-On Natural Language Processing with Python
- R Data Analysis Cookbook(Second Edition)
- C語言開發(fā)基礎(chǔ)教程(Dev-C++)(第2版)
- 速學(xué)Python:程序設(shè)計(jì)從入門到進(jìn)階
- IBM Cognos Business Intelligence 10.1 Dashboarding cookbook
- 一本書講透Java線程:原理與實(shí)踐
- Exploring SE for Android
- INSTANT JQuery Flot Visual Data Analysis
- 零基礎(chǔ)學(xué)編程系列(全5冊)