1. 스프링 MVC의 수행 흐름 1) 클라이언트로부터의 모든 ".do" 요청을 DispatcherServlet이 받는다. 2) DispatcherServlet은 HandlerMapping을 통해 요청을 처리할 Controller를 검색한다.3) DispathcerServlet은 검색된 Controller를 실행하여 클라이언트의 요청을 리턴한다.4) Controller는 비즈니스 로직의 수행 결과로 얻어낸 Model 정보와 Model을 보여줄 View 정보를 ModelAndView 객체에 저장하여 리턴한다.5) DispatcherServlet은 ModelAndView로부터 View 정보를 추출하고, ViewResolver를 이용하여 응답으로 사용할 View를 얻어낸다.6) DispatcherServlet은..
대부분 IoC 컨테이너는 각 컨테이너에서 관리할 객체들을 위한 별도의 설정 파일이 있다.Servlet : web.xmlEJB : ejb-jar.xmlSpring : applicationContext.xml (교재상 설정파일 이름) 설정파일 예시 12345678 Colored by Color Scriptercs- 엘리먼트 하나당 하나의 클래스를 설정 할 수 있다. 1. 루트 엘리먼트- , , , 등 자식 엘리먼트가 있다. 주로 , 가 사용된다. 1-1 엘리먼트- 기능별 여러 XML 파일로 나누어 설정하여 효율적으로 설정파일을 통합한다. context-datasource.xml context-transaction.xml DataSource 관련 설정 Transaction 관련 설정 applicationCon..
- Total
- Today
- Yesterday
- java.lang.NoClassDefFoundError: org/slf4j/event/LoggingEvent
- aspect oriented programming
- handlermapping
- exclude-mapping
- 컨트롤러
- multiple SLF4J bindings
- #java.lang.NoClassDefFoundError: org/slf4j/event/LoggingEvent삭제
- LoggingEvent
- preHandler
- 스프링 컨테이너
- XmlWebApplicationContext
- blocking
- postHandler
- 횡단 관심
- NoClassDefFoundError
- @Autowired
- SqlSessionFactoryBean
- ViewResolver
- servlet context
- application context
- JoinPoint
- 의존성 주입
- 어노테이션
- aop
- 의존성
- setter 인젝션
- 검색
- Controller
- afterCompletion
- Class path contains multiple SLF4J bindings
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |