- DataBase
- persistence-Layer(repository(Dao))
- business-Layer(Service+ServiceImplement)
- presentation-Layer(controller.view)
1. Dto( Data transfer object ) 란
DB 와 매칭될 클래스, Entity 클래스라고도 한다 .
로직없이 getter ,setter 만을 가진다 .
2. Dao( Data Access object) 란
DB를 사용해 데이터를 조작하는 객체
Service와 DB를 연결함(CRUD)
3. Service 란
트랜잭션 처리 및 presentation 계층과 DataAccess 계층을 연결하는 역할
4.Controller 란
웹 클라이언트의 요청 및 응답을 처리 , UI와 연결 하는 역할
'spring' 카테고리의 다른 글
데이터 베이스 스키마 자동 설정 (0) | 2023.04.17 |
---|---|
Http 요청 확인 (0) | 2023.03.29 |
Transection (0) | 2023.03.14 |
ApplicationContext (0) | 2023.03.14 |
댓글