posted 9 years ago
If the serialized data changes, then the serial version ID should change, and then deserialization using the old class will no longer work. If you want to avoid many of binary serialization's problems, consider having your object follow JavaBean conventions, and use XML serialization using the java.beans.XMLEncoder and XMLDecoder classes.