title: Where to store database credentials in a web app?
body: <p>I'm wondering what techniques you use to store the database credentials for your application.  I'm specifically concerned with java webapps, but I don't think there's any need to limit the questions to that.  </p>
  
  <p>things to consider:<br>
  Do you use property files,xml configs, other?<br>
  Is it bundled into your application(ie in a jar file) or stored seperately on the file system somewhere?<br>
  Is the password encrypted?  If so, what encryption scheme do you use?    </p>