Explain the different types of spring container?
Spring provides 2 types of containers:
- Spring BeanFactory Container : It provides basic support for DI and is defined by org.springframework.beans.factory.BeanFactory interface. BeanFactory and related interfaces are available in Spring for backward compatibility with third-party frameworks.
- Spring ApplicationContext Container : It adds enterprise-specific functionalities to interested event listeners. It is defined by org.springframework.context.ApplicationContext interface.
Suggest An Answer
No suggestions Available!