xml and objects

Hi, I have just learning basic reading / writing xml using JDOM. The aim is so that I can store my (planned) java application configuration and settings into XML files.

Something that worries me is the following: if I have classes designed for configuration, do I have to write functions to build an XML DOM and then write it to file and vice versa (going through the DOM tree and reading parameters back to objects).

I'm sure this has been tackled many times and I look forward how it is properly done. Many thanks.

[536 byte] By [Ginoa] at [2007-11-26 21:13:53]
# 1
If you want to bind XML to Java objects, look at JAXB or XMLBeans. If you want to simply store configuration accessible via Java objects, look at Jakarta Commons Configuration.- Saish
Saisha at 2007-7-10 2:52:05 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...