Spring
-
(4) MVC 프레임워크 만들기 - 유연한 FrontController 만들기Spring/MVC1-Servlet vs JSP vs MVC패턴 2023. 6. 13. 21:02
이전단계링크 https://hongs429-blog.tistory.com/48 (3) MVC 프레임워크 만들기 - Controller 구현체들의 공통로직 처리-2 이전단계링크 https://hongs429-blog.tistory.com/47 (2) MVC 프레임워크 만들기 - Controller 구현체들의 공통로직 처리 https://hongs429-blog.tistory.com/46 (1) MVC 프레임워크 만들기 - FrontController의 도입 Servlet -> JSP -> hongs429-blog.tistory.com 지금부터는 내가 만든 프레임워크를 다양한 원하는 방식의 Controller를 사용할 수 있게 해주는 작업을 하려고 한다. 이전 단계에서는 Controller 구현체들이 리턴값..
-
(3) MVC 프레임워크 만들기 - Controller 구현체들의 공통로직 처리-2Spring/MVC1-Servlet vs JSP vs MVC패턴 2023. 6. 13. 20:01
이전단계링크 https://hongs429-blog.tistory.com/47 (2) MVC 프레임워크 만들기 - Controller 구현체들의 공통로직 처리 https://hongs429-blog.tistory.com/46 (1) MVC 프레임워크 만들기 - FrontController의 도입 Servlet -> JSP -> 고전 MVC(Servlet + JSP) 의 과정을 거치면서 나름대로 기능별로 나누어 파일을 관리하였다. 하지만, 여전히 hongs429-blog.tistory.com 지금까지 한 작업은 FrontController에서 최대한 중복적인 코드를 처리하고, FrontController에서 mapping 된 각각의 Controller 구현체에서는 최대한 서비스 로직에만 집중할 수 있도록 ..
-
(2) MVC 프레임워크 만들기 - Controller 구현체들의 공통로직 처리Spring/MVC1-Servlet vs JSP vs MVC패턴 2023. 6. 13. 17:01
이전 단계 링크 https://hongs429-blog.tistory.com/46 (1) MVC 프레임워크 만들기 - FrontController의 도입 Servlet -> JSP -> 고전 MVC(Servlet + JSP) 의 과정을 거치면서 나름대로 기능별로 나누어 파일을 관리하였다. 하지만, 여전히 중복되는 코드들이 많았다. https://hongs429-blog.tistory.com/44 웹 애플리케이션으 hongs429-blog.tistory.com 앞의 Frontcontroller 의 도입에서 mapping 된 각각의 Controller 구현체들은 다음의 과정을 반복적으로 수행한다. 이동할 view 설정 RequestDispatcher 객체로 알맞은 view로 데이터 보내는 forwarding..
-
(1) MVC 프레임워크 만들기 - FrontController의 도입Spring/MVC1-Servlet vs JSP vs MVC패턴 2023. 6. 13. 08:50
Servlet -> JSP -> 고전 MVC(Servlet + JSP) 의 과정을 거치면서 나름대로 기능별로 나누어 파일을 관리하였다. 하지만, 여전히 중복되는 코드들이 많았다. https://hongs429-blog.tistory.com/44 웹 애플리케이션으로 Servlet / JSP / 고전 MVC 패턴 비교 - MVC Servlet Pattern https://hongs429-blog.tistory.com/42 웹 애플리케이션으로 Servlet / JSP / 고전 MVC 패턴 비교 - Servlet 간단한 회원 관리 웹 애플리케이션 구현( Servlet ) 예전의 Servlet 구조화 JSP, MVC 패턴의 비교를 hongs429-blog.tistory.com 중복이 일어나는 부분 View를 처리..
-
웹 애플리케이션으로 Servlet / JSP / 고전 MVC 패턴 비교 - MVCSpring/MVC1-Servlet vs JSP vs MVC패턴 2023. 6. 8. 17:58
Servlet Pattern https://hongs429-blog.tistory.com/42 웹 애플리케이션으로 Servlet / JSP / 고전 MVC 패턴 비교 - Servlet 간단한 회원 관리 웹 애플리케이션 구현( Servlet ) 예전의 Servlet 구조화 JSP, MVC 패턴의 비교를 해보자 그 중에서 이번에는 Servlet으로 회원관리 웹을 만들어 볼 것이다. 회원 정보 import lombok.Getter; im hongs429-blog.tistory.com JSP Pattern https://hongs429-blog.tistory.com/43 웹 애플리케이션으로 Servlet / JSP / 고전 MVC 패턴 비교 - JSP Servlet Pattern https://hongs429-..
-
웹 애플리케이션으로 Servlet / JSP / 고전 MVC 패턴 비교 - JSPSpring/MVC1-Servlet vs JSP vs MVC패턴 2023. 6. 8. 17:22
Servlet Pattern https://hongs429-blog.tistory.com/42 웹 애플리케이션으로 Servlet / JSP / 고전 MVC 패턴 비교 - Servlet 간단한 회원 관리 웹 애플리케이션 구현( Servlet ) 예전의 Servlet 구조화 JSP, MVC 패턴의 비교를 해보자 그 중에서 이번에는 Servlet으로 회원관리 웹을 만들어 볼 것이다. 회원 정보 import lombok.Getter; im hongs429-blog.tistory.com 고전MVC Pattern https://hongs429-blog.tistory.com/44 웹 애플리케이션으로 Servlet / JSP / 고전 MVC 패턴 비교 - MVC Servlet Pattern https://hongs42..
-
웹 애플리케이션으로 Servlet / JSP / 고전 MVC 패턴 비교 - ServletSpring/MVC1-Servlet vs JSP vs MVC패턴 2023. 6. 8. 17:10
JSP Pattern https://hongs429-blog.tistory.com/43 웹 애플리케이션으로 Servlet / JSP / 고전 MVC 패턴 비교 - JSP Servlet Pattern https://hongs429-blog.tistory.com/42 웹 애플리케이션으로 Servlet / JSP / 고전 MVC 패턴 비교 - Servlet 간단한 회원 관리 웹 애플리케이션 구현( Servlet ) 예전의 Servlet 구조화 JSP, MVC 패턴의 비교를 hongs429-blog.tistory.com 고전MVC Pattern https://hongs429-blog.tistory.com/44 웹 애플리케이션으로 Servlet / JSP / 고전 MVC 패턴 비교 - MVC Servlet Pat..
-
Servlet - request & responseSpring/MVC1-서블릿(Servlet) 2023. 6. 7. 07:39
● 서블릿 간단 개요 https://hongs429-blog.tistory.com/39 서블릿(Servlet) 우리가 흔히 알고 있듯이 HTML에서 Form 데이터의 전송이 서버로 일어나게 되면, 다음의 과정이 필요하다 1. Form 데이터 전송(POST) 2. 웹 브라우저가 생성한 요청 HTTP 메세지 이렇게 전달이 되면, 서 hongs429-blog.tistory.com Servlet이란 client와 서버와의 소통에서, 비지니스 로직에 대한 처리 코드를 제외한 모든 부분을 도와주는 것으로, Client으로 부터 들어온 요청에 대한 처리(HttpServletRequest 담당)와 이를 응답(HttpServletResponse 담당)을 개발자로 하여금 수많은 편의기능을 제공해주는 역할을 수행한다고 생각..