There are two IOC containers in spring-boot: BeanFactory
and ApplicationContext
.
As per my understanding, ApplicationContext
supports the eager initialization of beans where BeanFactory
does it lazily.
Problem Statement: In my Spring boot application, I wanna use lazy initialization of beans to make application startup faster. Can anyone please suggest the solution for achieving the same?