How can I easily enable the persistence of JavaBeans components as XML files?
Location: http://www.jguru.com/faq/view.jsp?EID=488297 Created: Aug 31, 2001 Author: Govind Seshadri (http://www.jguru.com/guru/viewbio.jsp?EID=14) The persistence scheme added in JDK 1.4 uses instances of the XMLEncoder class to write out files representing JavaBeans components. Every file written by XMLEncoder uses the same XML schema, regardless of the beans the file contains. The corresponding reader, XMLDecoder, can be used to read the encoded XML files.