Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- JDBC
- 스프링 핵심 원리
- Thymeleaf
- 스프링
- Exception
- springdatajpa
- http
- SpringBoot
- AOP
- Spring Boot
- java
- Servlet
- JPQL
- kotlin
- 인프런
- 백준
- Proxy
- transaction
- 김영한
- QueryDSL
- pointcut
- 자바
- Android
- 스프링 핵심 기능
- Greedy
- db
- 알고리즘
- 그리디
- spring
- jpa
Archives
- Today
- Total
목록Adapter패턴 (1)
개발자되기 프로젝트
Controller V5 - 2
V5는 V3, V4 Controller 모두 대응이 가능하도록 작성해보자. FrontControllerV5에 ControllerV4도 추가해보자. 1. ControllerV4HandlerAdapter ControllerV4는 process() 실행 후 String viewName을 return한다. MyHandlerAdapter 인터페이스는 기본적으로 handler()에서 controller의 process()를 호출하고 ModelView를 반환. 따라서 Adapter에서 ModelView를 반환해야 하기 때문에 ControllerV4를 위한 Adapter는 별도로 ModelView생성필요. public class ControllerV4HandlerAdapter implements MyHandlerAda..
인프런/[인프런] 스프링 MVC 1
2021. 9. 12. 00:02