[Java Spring FAQs] Field injection is not recommended and Injection guidelines in Java Spring
Field injection is not recommended and Injection guidelines
Injection types
There are three options(Constructor-base Injection, Setter-based Injection and Field-based Injection) for how dependencies can be injected into a bean: