[스프링]자바에서 설정파일(xml , properties.. ) 읽어들이기.


[스프링]자바에서 설정파일(xml , properties.. ) 읽어들이기.

Apache Commons Configuration :애플리케이션 운영 환경 설정에 사용하는 기술- Apache commons 프로젝트 중 한 컴포넌트인 Configuration. Commons Configuration은 일반화된 설정 인터페이스를 제공함으로써 자바 애플리케이션이 다양한 소스에서 설정을 읽을 수 있도록 해준다. 자바에서 설정 파일 읽어들이는 방법 * 순서 : 1. [web.xml]선언된 listener클래스 ContextLoaderListener 의해 RootWebApplicationContext영역을 구성 applicationContext.xml org.springframework.web.util.Log4jConfigListener org.springframework.web.contex..


원문링크 : [스프링]자바에서 설정파일(xml , properties.. ) 읽어들이기.