Java Serialization Versioning with Externalizable
Uncategorized - No Comments » - Posted on October, 22 at 1:39 am
Java Serialization is a easy way to persist the state of Java Objects. However if the structure of the class changes the serialized bytes is invalidated by the changes. This article suggest how one could implement serialization with Externalizable with support for versions.
Consider a simple java class
public class SimpleObject implements Serializable {
[...]
Read More..>>Posted in Uncategorized | No Comments »