title: WebSphere and PropertyPlaceholderConfigurer
body: <p>I'm a big user of properties (with PropertyPlaceholderConfigurer) for making my application as "dynamic" as possible. Almost all the constants are defined as such. Anyway, I'm currently defining a <code>default.properties</code> which comes shipped with the default WAR.</p>
  
  <p>In other environments (Acceptance/Production) I need to overwrite of the configurations. I'm doing this as following:</p>
  
  <pre><code>&lt;bean id="propertyManager"
          class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"&gt;
          &lt;property name="locations"&gt;
              &lt;list&gt;
                  &lt;value&gt;classpath:com/company/default.properties&lt;/value&gt;
                  &lt;value&gt;file:${COMPANY_PROPERTIES_LOCATION}\kbo-select-settings.properties&lt;/value&gt;
              &lt;/list&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
  </code></pre>
  
  <p>With this means I can use a promotable build for each of the environments.</p>
  
  <p>HOWEVER, I do dislike the fact that I can't change any of my properties from inside WebSphere. Instead I have to go to each of the servers (we have 8 clustered) and change the properties accordingly. It would be a lot more user friendly if I could change those from inside WebSphere and just perform a restart afterwards...</p>
  
  <p>Anyone has an idea on how I could do such a promotable build? I already define JNDI configuration for datasources/java mail/etc.</p>
  
  <p>Thanks!</p>