
What is bean factory? When time beans are created and loaded?

A BeanFactory is like a factory class that contains a collection of beans. The BeanFactory holds Bean Definitions of multiple beans within itself and then instantiates the bean whenever asked for by clients.
BeanFactory is able to create associations between collaborating objects as they are instantiated. This removes the burden of configuration from bean itself and the beans client. BeanFactory also takes part in the life cycle of a bean, making calls to custom initialization and destruction methods.
For more information, visit the following links:
http://www.roseindia.net/spring/
http://www.roseindia.net/spring/bean-init.shtml
http://www.roseindia.net/spring/spring3/spring-3-hello-world.shtml
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.