The following example demonstrate spring propertyplaceholder. With this configuration, spring allow you to externalize the value into properties files.
Configuration metadata: XML-, Annotation-based, Java-based
For multiple properties file seperate by comma, Eg “classpath:a.properties, b.properties”
Complete Example
PropertyPlaceholder Configuration