What is Spring IoC container?

4 years ago
Advance Java
  •  The Spring container is at the core of the Spring Framework.
  • The container will create the objects, wire them together, configure them, and manage their complete life cycle from creation till destruction.
  • The Spring container uses DI to manage the components that make up an application.
  • The main tasks performed by IoC container are:
    1. to instantiate the application class
    2. to configure the object
    3. to assemble the dependencies between the objects
  • There are two types of IoC They are:
    1. BeanFactory
    2. ApplicationContext
0
Bijay Satyal
Nov 2, 2021

Questions Bank

View all Questions