Spring 기초 관계
A는 B랑만 친하면 D도 가져올 수 있음
*XML 문서의 구조를 정의하는 방법 : DTD와 Schema
xml 설정파일은 이 두가지 방식을 모두 지원함
* beans dtd
: 지금 xml 코드는 다양하게 표현할 수 있지만 지금 표현하고자 하는걸 지정해 줌
(크게 묶어서 xml이지 디테일하게 구분할 수 있음)
40. XML Schema-based configuration
First up is coverage of the util tags. As the name implies, the util tags deal with common, utility configuration issues, such as configuring collections, referencing constants, and suchlike. To use the tags in the util schema, you need to have the followi
docs.spring.io
지금부터 사용하는 건 DTD BEANS 형태로 표현된다는 선언
1. ctrl+space > beans
다시 ctrl + space > bean
*BeanFactory : 빈을 생성하고 의존관계를 설정하는 기능을 담당하는 가장 기본적인 IoC컨테이너
*XmlBeanFactory : 클래스 중에서도 가장 일반적으로 사용되는 클래스
: xml설정 파일에서 빈의 생성 및 설정, 관리 정보를 취득하기 위해 사용
*FileSystemFactory : 특정 파일로부터 정보를 읽어옴
<한번 확인해보기>
https://www.youtube.com/watch?v=kwS3twdVsko