JiBX is a framework for binding XML data to Java objects (I stole that from their website!). There are a standard set of converters in the JiBX library that will help you convert your own classes to XML. There is a bit more information in the… more »