프로그래밍108 sping ioc annotaion 기반 설정 예제 applicationContext.xml 2015. 10. 27. spring ApplicationContext bean 초기화 TVUser.javapublic class TVUser {public static void main(String[] args) { ApplicationContext factory = new ClassPathXmlApplicationContext("applicationContext.xml"); SamsungTV tv = (SamsungTV)factory.getBean("samsung");} } 2015. 10. 26. spring BeanFactory bean 초기화 예제 applicationContext.xml TVUser,javapublic class TVUser {public static void main(String[] args) {BeanFactory factory = new XmlBeanFactory(new ClassPathResource("applicationContext.xml"));TV tv = (SamsungTV)factory.getBean("samsung");} } 2015. 10. 26. MVC Exam 2015. 10. 22. 이전 1 ··· 15 16 17 18 19 20 21 ··· 27 다음