[jdom-interest] Factories for Builders
Joseph Bowbeer
jozart at csi.com
Tue Apr 17 23:48:55 PDT 2001
John Gaunt writes:
> I'm interested because I need to serialize data from a
> JTree and since the serialization isn't version safe on
> these yet I need another method.
This may be completely off-base, but check-out the JSR for XML-based
persistence of JavaBeans:
JSR-57 Long-term Persistence for JavaBeans
http://java.sun.com/aboutJava/communityprocess/review/jsr057/index.html
The XML encoder for JavaBeans is one of the new features in 1.4. It should
eliminate the need for many JavaBeans to implement Serializable:
http://java.sun.com/products/jfc/tsc/articles/persistence2/
Summary: XMLEncoder archives graphs of JavaBeans as textual representations
of their public properties. Like Java source files, documents written this
way have a natural immunity to changes in the implementations of the classes
involved. These documents are portable and version resilient, structurally
compact, and fault tolerant.
--
Joe Bowbeer
More information about the jdom-interest
mailing list