Inversion of Control (IoC) and Dependency Injection (DI)

IoC

Dependency Injection

three important methods to provide configuration metadata to the Spring Container

XML based configuration file. Annotation-based configuration Java-based configuration