Simple java serialization and versioning

Here are a set of rules I find useful to follow when serializing java classes that may be persisted and later require versioning.

I enforce all the following rules in test code that uses reflection to walk recursively through all members of serialized objects, and checks for the required members and modifiers.

There are a few special cases.

Bill Harlan, December 2009


Return to parent directory.