public static void main(String[] args) {
		Resource resource = new ClassPathResource("applicationContext.xml");
		BeanFactory factory = new XmlBeanFactory(resource);
		HelloBean helloBean = (HelloBean) factory.getBean("helloBean");
		log.debug(helloBean.toString());

		HelloBean2 helloBean2 = (HelloBean2) factory.getBean("helloBean2");
		log.debug(helloBean2.toString());
	}