Spring Container


  • Container is core or heart of the Spring Framework.
  • Spring containers are divided in two catagories 
  • 1) Bean factory : it is for basic support of DI
  • (org.springframework.beans.factory.BeanFactory interface)
  • 2) Application Context : provides framework services
  • (org.springframework.context.ApplicationContext interface)
  • Application objects lives in container.
  • Container creates the objects.
  • Container wires the objects.
  • Container manages the life cycle of objects.
  • Container uses DI to wires the objects.