Professional Documents
Culture Documents
Container
The advantages of IoC
decoupling the execution of a task from its implementation
BeanFactory ApplicationContext
This is the simplest container providing the basic support for This container adds more enterprise-specific functionality
DI and is defined by such as the ability to resolve textual messages from a
the org.springframework.beans.factory.BeanFactory properties file and the ability to publish application events
interface. The BeanFactory and related interfaces, such as to interested event listeners. This container is defined by
BeanFactoryAware, InitializingBean, DisposableBean, are the org.springframework.context.ApplicationContext
still present in Spring for the purpose of backward interface.
compatibility with a large number of third-party frameworks
that integrate with Spring.