title: What is the best way to manage configuration data
body: <p>I am working on a product suite which has 4 products. Right now, all of the configuration data is either in the XML or properties files.This approach is not maintainable as we have to manage different configuration file for different environment(for e.g. Production, Development etc).</p>
  
  <p>So, <strong>what is the best way to handle configuration data?</strong></p>
  
  <p>Also, can we modularize this into a separate module? So that all products can use this module.
  We don't want to use the property files. I am looking for a solution in which we can move all of the configuration specific code as a new configuration module and persist all the configuration data in database.</p>