Additional comment to Øyvinds:

If we are to make these objects (or other objects in Derby)
Serializable *AND* backward compatible we should not pose restrictions
on how they are implemented like you suggest. Instead, custom
serialization should be used (by means serial version UID and
writeObject/readObject or writeReplace/readResolve). On the pitfalls
of serialization, i recommend Chapter 10 in Jushua Bloch's "Effective
Java". 


-- 
Bernt Marius Johnsen, Database Technology Group, 
Sun Microsystems, Trondheim, Norway

Attachment: pgpGfpIrtodir.pgp
Description: PGP signature

Reply via email to