What is the Purpose of Spring Configuration File ?

Spring application can be configured by an XML file. This file contains information of classes and how these classes are configured and introduced to each other.

Spring IoC container uses some kind of configuration metadata. This configuration metadata represents how an application developer tells the Spring container to instantiate, configure, and assemble the objects in your application. This configuration metadata is stored in Spring configuration file.

The other ways of specifying configuration metadata are Java based configuration and Annotation based configuration.



You May Interest

What are the Uses of AOP Module in Spring Framework ?

Why Do You Use Upcasting or Downcasting in Java ?

How Can Be Read Data From a Form in a JSP ?

Replacing Hashtable With ConcurrentHashMap in Java

Why an Object Used as Key in HashMap Should Be Immutable in Java ...