본문 바로가기
개발자의 공부방/자바

JAVA] MVC 계층 구조

by 쌈빡한 쥬니준 2020. 1. 31.

비즈니스 = Manager
예) 종업원이 고객의 요구를 전달해주면, 재료를 이용해 요리를 만드는 요리사?

퍼시스턴트 = DAO 
퍼시스턴트 : 데이터처리를 담당하는 계층. CRUD
예) 주방장이 사용할 재료를 담당하는 재료 담당자
DAO : data Access Object의 약자로  Database의 data에 접근을 위한 객체.

프레젠테이션 = Command
예) 식당에서 손님이 접하게 되는 메뉴판과 전달될 음식을 차려놓는 식탁.
UI layer 라고도 한다. 직접적인 jsp

JSP 가 최종목적지.
command => 최종목적지.
manager => command.
DAO => manager.

 

참고

https://help.sap.com/doc/saphelp_nwpi711/7.1.1/en-US/7e/d1a40b5bc84868b1606ce0dc72d88b/content.htm?no_cache=true

 

Application Layers (SAP Library - SAP NetWeaver Composition Environment Library)

Application Layers  As a business application based on Java EE 5 technology, the application consists of the following application layers: •     Presentation (UI) layer •     Business layer •     Persistence layer See the figure below to become familiar wi

help.sap.com

https://postitforhooney.tistory.com/entry/Spring-MVC-%ED%8C%A8%ED%84%B4%EC%97%90%EC%84%9C%EC%9D%98-5%EA%B0%80%EC%A7%80-%EA%B3%84%EC%B8%B5%EC%97%90-%EB%8C%80%ED%95%9C-%EC%A0%95%EB%B3%B4-%ED%8D%BC%EC%98%B4

댓글0