1. Spring Container: 사용자정의 클래스를 관리 (생성, 소멸
=ApplicationContext
=WebApplicationContext
=AnnotationConfigApplicationContext
2. 생성시에 필요한 데이터 전송
DI -> setXxx( ) , 생성자의 매개변수
p: c:
3. AOP : 중복제거 (자동 호출)
-> 시점, 메소드 호출
insert 전 before -> setAutoCommit(false)
insert 후 after
Aspect : 공통모듈
==> 데이터베이스에 필요할시에만 사용함
'Spring' 카테고리의 다른 글
Spring 의 구조 및 흐름도 이해 (0) | 2020.11.29 |
---|---|
SpringTotalProject (1) (0) | 2020.11.19 |
RedirectAttributes (0) | 2020.11.18 |
클래스 (0) | 2020.11.09 |
Spring(스프링) 프로젝트의 폴더 구조 (0) | 2020.10.26 |