Thursday March 16, 2006

What’s the deal with serialVersionUID?

Java.net asks a (not so) stupid question: What’s the deal with serialVersionUID? Well, if you want to de-/serialize Java objects in different JVMs (e.g. when sending classes via JMS to other JVMs) it might be interesting for you. These articles provide some insight:

If you read (and understand) all this stuff, you won’t end up in ClassCastExceptions, etc. ;-)

Posted on Mar 16, 2006 at 23:26 (MET) | Permalink | Add comment