PropertyPlaceholderConfigurer usage

PropertiesFactoryBean is a FactoryBean implementation which reads a properties file and exposes that as a Properties object in the ApplicationContext. PropertyPlaceHolderConfigurer is a BeanFactoryPostProcessor implementation that reads a property file and uses that property file to replace placeholder variables like ${xyz}. The properties aren’t available as a Properties object. in Spring 3.1+ you should use…