I have a web application that uses spring mvc and I would like to provide values for the placeholders in my ApplicationContext at deploy time. I don't want them to be baked into the war file. Also, I am looking for something that allows me to specify the values per deployment so that if I run two applications on the same tcServer instance, and those 2 applications happen to use some of the same placeholder names, I can provide each deployment with a different set of values for its placeholders.
Is there a standard way of handling this ?


Reply With Quote
. But indeed it is server start time which for the setup here is deploy time. The only way to do that is to specify them in a properties file and put them in a location from where the PPHC will load it, location could be partially configured through -D. 