-
스프링 부트 원리개발/Spring Boot 2023. 7. 20. 11:16
1. 의존성 관리 이해
https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-dependency-management2. 의존성 관리 응용
● 버전 관리 해주는 의존성 추가
● 버전 관리 안해주는 의존성 추가
● 기존 의존성 버전 변경하기
● https://mvnrepository.com/3. 자동 설정 이해
● @EnableAutoConfiguration (@SpringBootApplication 안에 숨어 있음)
● 빈은 사실 두 단계로 나눠서 읽힘
○ 1단계: @ComponentScan
○ 2단계: @EnableAutoConfiguration
● @ComponentScan
○ @Component
○ @Configuration @Repository @Service @Controller @RestController
● @EnableAutoConfiguration
○ spring.factories
■ org.springframework.boot.autoconfigure.EnableAutoConfiguration
○ @Configuration
○ @ConditionalOnXxxYyyZzzSpring Boot Reference Documentation
This section goes into more detail about how you should use Spring Boot. It covers topics such as build systems, auto-configuration, and how to run your applications. We also cover some Spring Boot best practices. Although there is nothing particularly spe
docs.spring.io
'개발 > Spring Boot' 카테고리의 다른 글
내장 웹 서버 이해 (0) 2023.07.21 자동설정 만들기 (0) 2023.07.21 스프링 부트 구조 (0) 2023.07.20 스프링 부트 시작하기 (0) 2023.07.20 스프링 부트 소개 (0) 2023.07.20