Serialize JavaBean component state to XML
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 13233
Total Votes: 141 votes
Category: JAVA/Java XML
Submitted on: 2008-03-12 11:03:06
Submitted By: Devesh Khanna
Description:The ability to save the JavaBean component state for long-term persistence within an XML document has been a topic of much discussion with Java developers in the past few years. This feature has finally been adopted in the 1.4 version of J2SE. This article shows you how to use the new XMLEncoder and XMLDecoder classes, bypassing serialization and allowing you to generate fully initialized bean instances. More detail...