I am using spring 3.1 with spring profiles to load the beans. In my app context file, I load the properties like :
Each
For more details and a suggestion how to cope with it look here: http://rostislav-matl.blogspot.cz/2013/06/resolving-properties-with-spring.html