Spring

[Spring] Spring 설정의 분리

지네딘 주안 2020. 5. 18. 18:37

1. ContextLoaderListener에 의해 실행된 ApplicationContext의 설정파일(Service + Persistence Layer, 공통 설정)

2. 클라이언트의 최초 요청 시 생성되는 DispatcherServlet에 의해 생성된 WebApplicationContext의 설정파일(Presentation Layer용)

 

https://jayviii.tistory.com/9

 

스프링에서의 역할 분담, WebApplicationContext

프론트 컨트롤러 패턴, Front Controller Pattern과 연관된 글. 컨텍스트 선언하기 스프링에서의 컨텍스트(Context) 란? 스프링을 접해본 사람이라면 컨텍스트라는 단어를 들어봤을 것이다. 무척이나 생��

jayviii.tistory.com

감사합니다.

 

참조(Spring 실행순서) : https://joooahn.tistory.com/22