Server/Spring

Spring Architecture

aonee 2020. 2. 20. 15:52

1) Presentation Layer

  • Spring MVC 객체를 말한다.
  • 프론트 컨트롤러(DispatcherServlet), 컨트롤러, 뷰, 모델이 포함된다

설명 포스팅 : https://aonee.tistory.com/entry/Spring-Presentation-Layer

 

Spring Presentation Layer

[Spring MVC(Model-View-Controller)의 핵심 Component] 참고 https://www.egovframe.go.kr/wiki/doku.php?id=egovframework:rte:ptl:spring_mvc_architecture Spring MVC 란? 1. Client Request 2. DispatcherS..

aonee.tistory.com

Presentation Layer, Spring MVC ,Annotation 관련된 글이 포스팅 되어 있다.

 

 

2) Service Layer(Business Layer)

  • 실제 비지니스 로직을 수행하는 컴포넌트
  • 컨트롤러(presentation layer)에서 요청을 보내면 DAO(data access layer)를 이용해 실제로 비지니스 로직을 수행한다.
  • 보통 하나의 비지니스 로직은 하나의 트랜잭션으로 동작(ACID 특징 가짐)

설명 포스팅 : 

 

 

 

3) Data Access Layer(Repository Layer)

설명 포스팅 : 

  • DB에 값을 저장하거나 가져오기 위해 JDBC, Mybatis, JPA 등을 사용해 구현한 DAO

 

반응형