This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes db settings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "db settings" Watch "db settings" New topic

db settings

Marie Mazerolle
Ranch Hand

Joined: Oct 01, 2002
Posts: 81
If I want to store my db, host and other general information in one location, what is the recommended approach? A properties file?
Chris Brat
Ranch Hand

Joined: May 22, 2003
Posts: 108
if it is static data, the a PropertyResourceBundle is quite easy to use.
I say static because I havent tried to write updated data back to the resource bundle yet - so im not sure how easy that is.

I agree. Here's the link:
subject: db settings
It's not a secret anymore!