context 3 [Spring] Web.xml Web Application의 설정을 위한 Deployment Descriptor으로 Web Application이 최초 구동될 때 WEB-INF 디렉토리에 존재하는 web.xml을 읽고, 그에 해당하는 Web Application 설정을 구성합니다. contextConfigLocation /WEB-INF/spring/root-context.xml org.springframework.web.context.ContextLoaderListener appServlet org.springframework.web.servlet.DispatcherServlet contextConfigLocation /WEB-INF/spring/appServlet/servlet-context.xml 1 appServlet / Dis.. Domain/Spring 2021. 11. 30. [Spring] Context ( RootContext, ServletContext ) Application Context ( Root WebApplication Context ) ContextLoaderListener 클래스에 의해 생성됩니다. Spring에서 IOC Container라고 불리는 존재입니다. ApplicationContext는 root-context.xml, applicationContext.xml의 정보를 바탕으로 생성됩니다. Root라는 이름처럼 최상위 Context입니다. Root Context에 등록된 Bean들은 모든 Context에서 사용할 수 있습니다. 특정 Servlet 설정과 관계 없는 설정을 합니다. Servlet Context을 서브 클래스로 두고 있기 때문에 Servlet Context에 선언된 Bean들은 사용할 수 없습니다. 대표적으로 Servic.. Domain/Spring 2021. 11. 18. [Android] Context란? Interface to global information about an application environment. This is an abstract class whose implementation is provided by the Android system. It allows access to application-specific resources and classes, as well as up-calls for application-level operations such as launching activities, broadcasting and receiving intents, etc. 애플리케이션 환경에 대한 글로벌 정보에 대한 인터페이스입니다. 이것은 Android 시스템에서 구현하는 추상 클.. Domain/Android 2020. 9. 8. 이전 1 다음