[jdom-interest] TODO serialization [eg]

philip.nelson at omniresources.com philip.nelson at omniresources.com
Tue Apr 17 07:20:35 PDT 2001


> I'm not too concerned with optimization, although I 
> understand that the
> default serialized form can be prone to stack overflow...
> 
> I'm mostly concerned with defining a standard and hiding 
> implementation.
> 
> If we intend to support *long-term* serialization and we rely 
> on the default
> serialized form, then many details of our initial 
> implementation will become
> part of the JDOM standard.

I suppose there is no easy way to say "JDOM does not support long term
serialization". The only use case worth supporting IMHO is short term
serialization for use with rmi, ejb, http sessions and the like.  Long term
serializaion should *always* be done with, well, XML :-).  Long term
serialization would be an effort that would in many ways duplicate what we
are already doing with xml.  If we had a really fast non validating parser,
I would say that XML would be worth considering as the custom format.  But
we don't.



More information about the jdom-interest mailing list