DEV Community

MAYUR KUMBHAR
MAYUR KUMBHAR

Posted on

Spring IoC container 📦

Spring IoC container is the component in spring core framework. Lifecycle of bean is maintained by this container. This container converts the java objects into the beans by provided configurations.

Spring IoC container responsibilities:

  • instantiate the application class
  • configure object
  • assemble the dependencies between objects

Types of IoC

  • Bean Factory - Basic IoC container, no advance feature, only bean creation, maintenance, auto wiring & injecting dependencies.
  • Application Context - advanced IoC provides all features of Bean Factory & on top of it provides extra features like event handling based on bean events.

Top comments (0)