본문 바로가기

⚙️Backend/Spring25

[Spring] MVC Project part 3 2020/05/30 - [🌎Web Application/Spring] - [Spring] MVC Project part 1 2020/05/30 - [🌎Web Application/Spring] - [Spring] MVC Project part 2 1. web.xml (DispatcherServlet) web.xml을 서블릿 배포 기술자, 영어로는 DD (Deploment Descriptor)라고 한다. web.xml은 WAS (Web Application Server: 여기서는 Tomcat)이 최초 기동될 때, WEB-INF 디렉토리에 존재하는 web.xml을 읽고, 그에 해당하는 웹 애플리케이션 설정을 구성한다. 다시 말해, 각종 설정을 위한 설정파일이라고 이야기 할 수 있다. web.xml에는 다른 .. 2020. 5. 30.
[Spring] MVC Project part 2 2020/05/30 - [🌎Web Application/Spring] - [Spring] MVC Project part 1 pom.xml 에 스프링 MVC 개발을 위해 필요한 라이브러리들을 세팅해준다. 해당 라이브러리 들은 .. 태그 사이에 추가해주면 된다. 데이터베이스를 위한 라이브러리를 설정 1) ojdbc6 mvnrepository.com/artifact/oracle/ojdbc6/11.2.0.3 oracle ojdbc6 11.2.0.3 2) MyBatis mvnrepository.com/artifact/org.mybatis/mybatis/3.5.3 org.mybatis mybatis 3.5.3 3) MyBatis Spring mvnrepository.com/artifact/org.mybatis/my.. 2020. 5. 30.
[Spring] MVC Project part 1 new project -> Spring Legacy Project => Next Templates 설정-> Spring MVC Project 설정 => Next package 는 com.mvc.upgrade => Finish **하단 녹색 바가 다 완료 될 때 까지 기다리기** 2020. 5. 30.
[Spring] AOP(Aspect Oriented Programming) part 3 2020/05/30 - [🌎Web Application/Spring] - [Spring] AOP(Aspect Oriented Programming) part 1 2020/05/30 - [🌎Web Application/Spring] - [Spring] AOP(Aspect Oriented Programming) part 2 2. @Aspect 방식 @Aspect // Aspect 역할을 할 클래스라고 명시해줌 public class MyAspect{ @Before("execution(public void bark(..))") public void before(JoinPoint join) { System.out.println("Proxy Object : "+join.getThis().getClass()); S.. 2020. 5. 30.
728x90
반응형