1.

Explain the different types of spring container?

Answer»

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.


Discussion

No Comment Found