How-to articles, tricks, and solutions about SERIALVERSIONUID

What is a serialVersionUID and why should I use it?

A serialVersionUID is a unique identifier for a serializable class. It is used to verify that the sender and receiver of a serialized object have loaded classes for that object that are compatible with respect to serialization.