Skip to content

MVC #3

@mic050r

Description

@mic050r

전체적인 MVC 흐름

  1. 클라이언트가 데이터를 전송하면 @ModelAttribute 를 통해 데이터를 DTO에 바인딩.
  2. Controller는 이 DTO를 받아서 Service 계층으로 전달.
  3. Service는 DAO를 통해 DB에 CRUD 작업을 수행.
  4. DAO는 Mapper와 연동되어 MyBatis나 JPA를 통해 SQL 쿼리를 실행하여 DB와 통신.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions