title: Java - How to store password used in application?
body: <p>I'm developing an application which read some data from a db.
  The connection to the db is performed through standard login/password mechanism.</p>
  
  <p>The problem is: how to store the db password?
  If I store it as a class member, it can be easily retrieved through a decompiling operation.</p>
  
  <p>I think that obfuscation doesn't solve the problem, since a string password can be found easily also in obfuscated code .</p>
  
  <p>Anyone has suggestions?</p>