I was using the ApplicationContext as follows to access my beans:
ApplicationContext context =
new ClassPathXmlApplicationContext("Beans.xml");
StudentJDBCTemplate studentJDBCTemplate =
(StudentJDBCTemplate)context.getBean("studentJDBCTemplate");
now I want to Create an applicationContext.xml and there I am using component-scan as follows:
<context:component-scan base-package="org.manager.*" />
so that I don't have to create ApplicationContext object to access the bean, and put it under my WEB-INF folder as explained here
My question is, How do I access my beans now? Since there is no ApplicationContext Object at my disposal now.