2019/03/141 국비교육 68일차 1.sample01 : injection 구현- MTest.java(main)- Nic_name.java- Nic_namePrn.java- applicationContext.xml sample01.anno : Injection을 @로 변경 sample02 : @Autowired를 has a 관계에 멤버로 지정한 다음 beans.xml에서 값전달을 확인 sample03 : sample05 : @Resource 연동확인* Spring의 @autowired, @Component는 ID로 관리된다.- @Resource : javax.annotation- @Autowired : org.springframework.bean.factory- @Qualifier : 어떤 클래스를 @Autowired 하는지를 지정하는 .. 2019. 3. 14. 이전 1 다음