dcsimg
Problem in serializing objects in socket's stream
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, September 4, 2002 04:11 AM

Dear,

I have developed a software by using java sockets. when i try to send an object (first time) from server to client, it goes well but when i make changes in object at server and send, then the object receive at client side doesn't change. I have use ObjectOutputStream.replaceObject() method and ObjectInputStream.resolveObject() method but it doesn't make any difference.

Please solve my problem.

Re: Problem in serializing objects in socket's stream

Posted By:   Anonymous  
Posted On:   Wednesday, September 4, 2002 05:31 AM

The replaceObject have a totally different than what you want to do (refer to the API for more info). Once the object has changed, just send it using the writeObject method like you did the first time...
About | Sitemap | Contact