0

Currently I am trying to use Spring 4 in my application. And I am trying to run programs using main method.

In earlier Spring versions I used to provide the implementations as below

BeanFactory beanFactory = new XmlBeanFactory(new ClassPathResource("applicationContext.xml"));

Now XmlBeanFactory is deprecated in Spring 4. So how can I do the same thing in Spring 4.

0 Answers0