ApplicationContext which a superset of BeanFactory is used for more complex applications that need event propagation, declarative mechanisms and integration with aspect-oriented features of Spring. Most applications use xml (beans.xml) for the configuration. You can think of the beanfactory as a container that instantiates, configures and manages the beans.
0 Comments
Leave a Reply. |