IOC Container
IOC Container(Spring) The IoC container is responsible to instantiate, configure and assemble the objects. The IoC container gets informations from the XML file and works accordingly. The main tasks performed by IoC container are: 1. Create the object 2. Hold them in a memory 3. Inject them in another object as required 4. Maintain the whole lifecycle of objects There are two type of IOC container 1. BeanFactory 2. ApplicationContext