Beans Java Interview Questions – Set 03
What are the different types of IoC (dependency injection There are three types of dependency injection: Constructor Injection(e.g. Spring): Dependencies are provided as constructor parameters. Setter Injection(e.g. Spring): Dependencies are assigned through JavaBeans properties (ex: setter methods). Interface Injection(e.g. Avalon): Injection is done through an interface. In your experience, why would you use Spring framework … Read more