aspose file tools*
The moose likes I/O and Streams and the fly likes Serialization issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Serialization issue" Watch "Serialization issue" New topic
Author

Serialization issue

Keyur Govande
Greenhorn

Joined: Mar 09, 2006
Posts: 2
Hi...I've been trying to implement serialization. Here is the code:
Server Code and Message code:




Client code




What I am trying to do here is to change the value of Message.type and send it over to the client. but when I run this program, the client always prints the first value of m1 that is 3, 200. What could be wrong?

Thanks for the help!
Keyur Govande
Greenhorn

Joined: Mar 09, 2006
Posts: 2
I found the answer. Its here:
http://java.sun.com/products/jdk/serialization/faq/#handle
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Serialization issue