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
'STUDY > SPRING' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
spring - ํ์๊ฐ์ (MyBatis - DB์ฐ๊ฒฐ ์ฐ์ต) (0) | 2022.06.09 |
---|---|
spring ========Mybatis๋ก DAO์ DB๋ฅผ ์ฐ๊ฒฐ ======= (0) | 2022.06.08 |
Spring - Legacy Project ๋ง๋ค๊ธฐ 2(mybatis - db ์ฐ๊ฒฐ) (0) | 2022.06.08 |
Spring - Legacy Project ๋ง๋ค๊ธฐ (0) | 2022.06.07 |
spring ์ค์นํ๊ธฐ (0) | 2022.06.03 |