Re: java serialization alternative
Attila Szegedi <[email protected]> Sat, 29 Mar 2008 23:10:12 +0100
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <[email protected]> |
On 2008.03.29., at 19:01, Bob Lee wrote: > (I would argue > that reliably maintaining compatibility is almost impossible with > serialization without a robust test suite which easily counteracts the > simplicity of serialization). Interesting statement - care to elaborate? I've found that evolving the class design is easy with serialization but then, I've been mostly adding fields and paid attention that the default value of the field is okay for existing serialized object representations. On a single object level, it is basically an object-to-(name-value-pair) codec. What pitfalls specifically do you have in mind? Attila. > > > Bob =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com