[thelist] Using flat files instead of database for Java driven app

Chris Evans evolt at unhappyfun.com
Tue Feb 18 14:08:01 CST 2003


Dee, Dax Development.com wrote:
> 	Does anyone have some good resources that may help?  I know this
> is something simple....but, my brain can't seem to get away from the
> "database space".
> 	TIA for any resources you all can provide.

I've used JDom as an XML parser to read and write XML files rather than
a database.

http://www.jdom.org/docs/faq.html

Or if that is overkill, I've also used Properties files to load simple
data.  Properties acts like a hashmap written to disk:

http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html

Hope that helps,

Chris Evans
chris at unhappyfun.com





More information about the thelist mailing list