aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Serialization question 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 » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Serialization question" Watch "Serialization question" New topic
Author

Serialization question

Costa lamona
Ranch Hand

Joined: Sep 24, 2006
Posts: 102
Hi

"A Serialized object can be deserialized only by the same JVM which used to serialize that object"

I can't remeber that I have read that in K & B book, any way, explain it please.

thanks


SCJP 5
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6657
    
    5

It simply means you cant serialize a class using (for example) java 1.3.1 and deserialize it in java 1.4.2

You can deserialize it using java 1.3.1 only. This applies for any other build of java 1.3 too. You cant deserialize using java 1.3.2 ( or something like that ) since the serial version UID would be different.


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Serialization question
 
Similar Threads
Is transfer object pattern the same as value object pattern?
How many objects eligible for GC??
Corejava Question ??
disabling right click using jquery
convert String into Object