[jdom-interest] JDOM as an in-memory "filewriter"

Jon Baer jonbaer at digitalanywhere.com
Thu Jun 28 11:29:01 PDT 2001


Hi,

I need some advise on how to accomplish something.  I need to load up say about 20 XML
files into memory using JDOM and a servlet attached to those 20 files which can take new
element text and write to the in-memory Document but I also need this to be persistant
for when the in-memory Documents are destroyed (from either shutting down the server,
etc).

My question is how to accomplish some type of "auto-save" feature for when new Elements
are added or something smarter to not do it every time but every so often.

Any ideas or thoughts?

- Jon




More information about the jdom-interest mailing list