serialVersionUID

I found eclipse is continuously warning me about ‘serialVersionUID’
whenever i tried to save a Java file. I was thinking that there will
be a relation between jdk version in which the class has been created.
please see http://www.javaworld.com/javaworld/jw-02-2006/jw-0227-control.html

Java serialisation provides a serialisation id serialVersionUID or
suid for version control. this informs the java serialisation
mechanism which class version is suitable with that serialised object.

Advertisements