1.ApplicationContext context = new ClassPathXmlApplicationContext("beans-config.xml");
2.ApplicationContext context = new ClassPathXmlApplicationContext(
new String[] {"beans-config.xml","beans-config2.xml"} );
3.ApplicationContext context = new ClassPathXmlApplicationContext("classpath*:beans-config.xml");
4.ApplicationContext context = new ClassPathXmlApplicationContext("beans*.xml");