2019/03/121 국비교육 66일차 1.Maven Project는 인터넷에 연결되어있지 않으면 사용할 수가 없다(라이브러리가 계속 UPDATE) 2.1) DI 클래스 2) xml 태그 안에 로 객체를 선언한다. 3) 프로그램 로직에서 호출하고 싶은 클래스의 객체를 xml 파일에 선언된 클래스의 id로 찾아온다.new ClassPathXmlApplicationContext(); - xml파일을 가져온다.getBean() 메소드로 id를 찾아온다 3. DI 의존관계 관리하기 위한 방법1) 생성자2) Setter 4.Bean factory implementations should support the standard bean lifecycle interfaces as far as possible. The full set of initializa.. 2019. 3. 12. 이전 1 다음