kandy pal

Greenhorn
+ Follow
since Mar 15, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by kandy pal

Hi All,

I am new to Spring. I have query regarding the ways to load the config file in spring.

What is the difference between

ApplicationContext context = new ClassPathXmlApplicationContext("AppConfig.xml");

And

Resource res = new ClassPathResource("spconfig.xml");
BeanFactory factory = new XmlBeanFactory(res);

Thanks
11 years ago