How do you provide configuration metadata to the Spring Container?
There are three important methods to provide configuration metadata to the
Spring Container:
1 XML based configuration file.
2 Annotation-based configuration
3 Java-based configuration