spring-lazy-annotation
A Quick Guide to the Spring @Lazy Annotation 1. Overview By default, Spring creates all singleton beans eagerly at the startup/bootstrapping of the application context. The reason behind this is simple: to avoid and detect all possible errors immediately rather than at runtime. However, there’re cases when we need to… Continue Reading spring-lazy-annotation