O'Reilly logo
  • Francisco Almeida thinks this is interesting:

The @Lazy annotation is a useful one and it helps to increase the boot startup time. These beans will be initialized only when the need arises


Cover of Spring Microservices


When use @Lazy in a component we're saying to sprint that this bean will be created only when is required