Paste
Pasted as Java by Naresh ( 12 years ago )
package org.gontuseries.springcore;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class TestSpringProject {
public static void main(String[] args) {
ApplicationContext c ClassPathXmlApplicationContext("SpringConfig.xml");
Restaruant restaruantObj = (Restaruant) context.getBean("restaruantBean");
restaruantObj.greetCustomer();
}
}
Revise this Paste