Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I easily enable the persistence of JavaBeans components as XML files?

0
Posted

How can I easily enable the persistence of JavaBeans components as XML files?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123