Mark Spritzler wrote:When you create the Spring container with ApplicationContext context = new ClassPathXmlApplicationContext("springconfig.xml"), Spring will read in the xml and create instances of your objects and set the dependencies between those objects in that one line of code. After that line of code, all those objects are now available for you to use by getting it out of the applicationContext with a call to getBean(). All that happens at runtime.
Mark
more than many thanks