Reputation: 11
Import properties
What are the three differences?
Reading property files using PropertyPlaceholderConfigurer
Reading property files using [context:property-placeholder]
Reading properties file using [util: properties] and Spring EL
Upvotes: 1
Views: 212
Reputation: 2239
PropertyPlaceholderConfigurer
class pulls values from a properties file into bean definitions.
<context:property-placeholder ... />
is a XML equivalent to the PropertyPlaceholderConfigurer.
<util:properties/>
is equivalent to java.util.Properties
Detailed information provided on this question here
Upvotes: 2