title: What is the best practices to store database connection related information?
body: <p>I want to know what is the best practices to store database connection related information?
  What i know is ResourceBundle which uses a properties file is used for localization and is not suitable for storing database connection related information.
  What could be the other best way to store this information in java?</p>