XML for Java serialization

Lars Marius Garshol larsga at ifi.uio.no
Fri Jan 29 22:27:27 GMT 1999


* Tyler Baker
| 
| Well it is pretty simple to say IDs are the answer.  They are indeed
| a possibility.  Try coming up with an implementation which resolves
| circular references and can be rebuilt back into its original
| in-memory data structure.  Implementation is not as simple as it
| sounds...

I did a pilot for my MSc thesis last fall and when I gave up trying to
make Java serialization work with CORBA object structures (all the
objects were in one JVM) I wrote my own XML-based serialization.  

It keeps track of circular references and all that and I did it in one
day, so the implementation isn't all that difficult. The hard part is
making the interface easily useable, which I didn't bother with, since
I just wanted something for my pilot system.

And, yes, it is verbose.

--Lars M.


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list