@Resource1 [Spring] DI, 어노테이션 정리 Bean Spring Container가 관리하는 객체이다. ApplicationContext JSP의 기본 객체, BeanFactory를 확장해서 여러 기능을 추가 정의하는 인터페이스이다. [web.xml] ContextLoaderListener(이벤트처리기)를 이용해 Root ApplicationContext 객체(부모)와 Servlet ApplicationContext 객체(자식)를 생성한다. contextConfigLocation /WEB-INF/spring/root-context.xml org.springframework.web.context.ContextLoaderListener appServlet org.springframework.web.servlet.DispatcherServlet con.. 2022. 6. 16. 이전 1 다음