This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java in General and the fly likes Serialization - SerialVersionId Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Serialization - SerialVersionId" Watch "Serialization - SerialVersionId" New topic
Author

Serialization - SerialVersionId

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1368
Source system serializes the object and attached serial version id send it to the destination system. How can we identify whether serialized object is changed before reaching destination?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Include some sort of hashcode and hope nobody figures it out? Send it encrypted?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Serialization - SerialVersionId
 
Similar Threads
Confusion Around JNDI Lookups for JMS ConnectionFactory and Destination Objects
problem sending messages to remote queue
File Size Issue while delivering file more than 2gb using java.nio.channels.FileChannel.transferFrom
Serialization - different JVM version ?
JSP Forward