-
[Spring] Spring 설정의 분리Spring 2020. 5. 18. 18:37
1. ContextLoaderListener에 의해 실행된 ApplicationContext의 설정파일(Service + Persistence Layer, 공통 설정)
2. 클라이언트의 최초 요청 시 생성되는 DispatcherServlet에 의해 생성된 WebApplicationContext의 설정파일(Presentation Layer용)
스프링에서의 역할 분담, WebApplicationContext
프론트 컨트롤러 패턴, Front Controller Pattern과 연관된 글. 컨텍스트 선언하기 스프링에서의 컨텍스트(Context) 란? 스프링을 접해본 사람이라면 컨텍스트라는 단어를 들어봤을 것이다. 무척이나 생��
jayviii.tistory.com
감사합니다.
참조(Spring 실행순서) : https://joooahn.tistory.com/22
'Spring' 카테고리의 다른 글
@RequestParam @PathVariable 차이 (0) 2020.05.21 [Spring] 정적 파일 처리, DefaultServlet, url-mapping (0) 2020.05.18 [Spring] Spring MVC 동작흐름, 컴포넌트 설명 (0) 2020.05.18 [Spring] Spring vs Spring Boot vs Spring MVC (0) 2020.05.17 [Spring] Spring Framework 실행순서 (0) 2020.03.05