Domain properties in Glassfish

You can make properties files available to you WAR and EAR applications by putting the file in the folder glassfish/domains/${}/lib/classes

You can use these in your spring configuration by prefixing the resource name with classpath:. For example:

<beans:bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <beans:property name="location" value=""/>

Configuration Properties in Spring

Make configuration properties from a properties file available in a Spring context

<bean id="propertyPlaceholderConfigurer"
   <property name="locations">