Sometimes there is a need to initialize Spring bean after construction. Basically there are two ways to do that, which we will cover here.
How to make sure that Spring Framework artifacts have consistent versions in Maven? It turns out that its very easy to prevent library mismatch errors!
BeanCurrentlyInCreationException is thrown by Spring Framework when it meets circular reference while setting up application context. Here we show what is *it and how to fix it!
Spring field injection
This is probably the most common form of Dependency Injection, because it reduces a lot of boilerplate code needed with setter or constructor injections.
Spring Setter Injection
This form of Dependency Injection is used very often, especially for optional dependencies and reconfigurable beans. We’ll show how to use it using Spring annotations.
Spring Constructor Injection
This is one of the simplest and cleanest types of Dependency Injection in the Spring Framework. In this post we show how to use it with help of Spring annotations.
Spring @Value default value
This tutorial presents how to set default values in Spring @Value annotation, using properties syntax and Spring Expression Language (SPEL).