File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Oct 01, 2002
Dec 02, 2003 13:48:00
If I want to store my db, host and other general information in one location, what is the recommended approach? A properties file?
Joined: May 22, 2003
Dec 03, 2003 01:20:00
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.
SCJP 1.2, SCJP 5, SCBCD
rocket mass heater
subject: db settings
MouseEvent on JTable
User and Password
[Error] Cannot enlist resource, transaction not active
Cannot find file / dbpath not correct
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014