DispatcherServlet
-
CS 100문 100답 Q.004~005(Spring Web MVC, Spring Bean Life Cycle)카테고리 없음 2022. 7. 18. 08:59
키워드 풀이 004. Spring Web MVC 란 무엇인가? 개발시 사용되는 디자인 패턴. Model-View-Controller로 구성되며 client와 server의 로직을 분리하여 server에서의 수정이 client에 영향이 없도록 설계 Model 데이터 관리 및 비즈니스 로직을 처리 단순히 요청에 의한 로직만 처리하고 이 결과를 어디에, 어떻게 사용하는지는 전혀 상관하지 않음 ex. DAO, DTO, Service 등 View 비즈니스 로직 처리 결과를 통해 사용자 인터페이스가 표현되는 구간 Model을 통해 전달받은 데이터가 어떤 데이터인지 전혀 상관하지 않음. html, jsp 등 화면을 구성하기도 하고, Rest API 서버 구현시 json응답으로 구성 Controller Model과 V..