-
Spring의 Context들은 개체를 생성하고 관리하는 Container 기능을 한다.
FileSystemXmlApplicationContext: 파일 경로로 xml설정 파일을 로딩하는 컨테이너.
ClassPathXmlApplicationContext: 클래스패스(classpath:xxx) 경로에 있는 xml설정파일을 로딩하는 컨테이너.
GenericXmlApplicationContext: FileSystemXmlApplicationContext와 ClassPathXmlApplicationContext의 기능을 포함하는 컨테이너.
XmlWebApplicationContext: 웹 애플리케이션 개발에 사용되지만 직접 생성하지 않는다.GenericXmlApplicationContext 기본 예제
'Spring' 카테고리의 다른 글
Aop 용어 (0) 2023.07.08 Bean 의존 관계 주입 기초 Ex (0) 2023.07.08 GenericXmlApplicationContext 기본 예제 (0) 2023.07.08 Container (0) 2023.07.08 Java SpringBoot 개요 (0) 2023.07.07 Java SpringFramework 개요 (0) 2023.07.07 Springboot Mustach Jpa 이용한 게시판 (0) 2022.09.28 PathVariable Url경로에서 값 읽기 (0) 2022.09.28