250x250
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
Tags
- MySQL
- MSSQL
- Thymeleaf
- AJAX
- 문서
- JDBC
- Source
- JavaScript
- jpa
- ubuntu
- 오픈소스
- STS
- Open Source
- 설정
- error
- IntelliJ
- PostgreSQL
- SpringBoot
- Docker
- Eclipse
- myBatis
- oracle
- Core Java
- spring
- git
- Tomcat
- Exception
- Python
- Spring Boot
- maven
Archives
- Today
- Total
목록AOP (1)
헤르메스 LIFE

출처 : velog.io/@damiano1027/Spring-Spring-MVC-Request-Lifecycle Filter는 DispatcherServlet으로 가기 전에 필터링 로직을 수행하고 HandlerInterceptor(이하 Interceptor)는 Controller로 가기 전에 로직을 끼워넣는다고 하였다. 이 점에서 알 수 있는 점은, Filter와 Interceptor는 실행 흐름에 간섭하는 역할을 한다는 것이다. 그런데 실행 흐름에 간섭하여 로직을 넣는다는 점은 AOP(Aspect-Oriented-Programming)에도 해당되는 말이다. 그렇다면 AOP는 Filter와 Interceptor랑은 어떤 점이 다른 것일까? 셋은 실행 시점이 다르다. Filter DispatcherServ..
Spring Framework
2021. 1. 9. 10:46