Spring Inversion of Control (IoC) also known as
Dependency Injection (DI) is a process by which
objects define their dependencies with collaborating objects.
The following example shows a lazy initialized bean. The first bean (lazy1)
being singleton is initialized during ApplicationContext initialization.
Though the second bean (lazy2) is singleton it is not initialized as part
of ApplicationContext initialization because its lazy-init
attribute is set to true.