How to Instantiate Spring IoC Container

In order to get the bean instances from the configuration file, we need to instantiate the Spring IoC Container which in-turn helps us reading the configurations. Spring provides two types of IoC Container implementation.

  1. Bean Factory
  2. Application Context

Bean factory is the more basic implementation of Spring IoC Container.  Application context is the more advanced implementation. Both IoC containers will be having the same Bean configurations only. [Read more…]