The serialVersionUID is used as a version control in a Serializable class. If you do not explicitly declare a serialVersionUID, JVM will do it for you automatically, based on various aspects of your Serializable class,
Nice article regarding this
http://www.mkyong.com/java-best-practices/understand-the-serialversionuid/