Posted By:
Mahalingam_Srikanth
Posted On:
Monday, October 8, 2001 12:43 PM
I have used Java Object Serialization in conjunction with Datagram sockets to transmit DataPackets from the Client to the Server. The DataPacket that is transmitted is a Java Class and numerous of such packets are transmitted from client to server. On the server side where the DataPacket is deserialized, I would like the DataPacket to be deserialized onto the same instance and not to return a different instance with every readObject call on the ObjectInputStream. Is there a way to achieve this?