Java/Spring Boot
[Spring Boot] WebApplicationType
hh_lin
2022. 3. 13. 04:00
1. SERVLET
- Spring MVC가 있는 경우
- Spring MVC, Spring WebFlux가 있는 경우 (Spring MVC가 있으면 무조건 SERVLET)
2. REACTIVE
- Spring MVC가 없고, Spring WebFlux만 있는 경우
3. NONE
- 둘 다 없는 경우
4. 둘 다 있는데 REACTIVE로 동작하게 하기 : setWebApplicationType()
SpringApplication app = new SpringApplication(Application.class);
app.setWebApplicationType(WebApplicationType.REACTIVE);
app.run(args);
https://www.inflearn.com/course/%EC%8A%A4%ED%94%84%EB%A7%81%EB%B6%80%ED%8A%B8/dashboard
스프링 부트 개념과 활용 - 인프런 | 강의
스프링 부트의 원리 및 여러 기능을 코딩을 통해 쉽게 이해하고 보다 적극적으로 사용할 수 있는 방법을 학습합니다., - 강의 소개 | 인프런...
www.inflearn.com
Core Features
Spring Boot lets you externalize your configuration so that you can work with the same application code in different environments. You can use a variety of external configuration sources, include Java properties files, YAML files, environment variables, an
docs.spring.io