Notes in Category: snippets

How configuration metadata is provided to the Spring container?

Configuration metadata can be provided to Spring container in following ways:

  1. XML-Based configuration
  2. Annotation-Based configuration
  3. Java-based configuration

XML-Based configuration: In Spring Framework, the dependencies and the services needed by beans are specified in configuration files which are in XML format. These configuration files usually contain a lot of bean definitions and application specific configuration

Read More