This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
Server / Client with Threads
How to send any java Object through socket?
I Got a Problem in ObjectInputStream while iam sending Vector 2nd Time
Objects to capture!!
I Got a Problem in ObjectInputStream while iam sending Vector 2nd Time