View RSS Feed

Recent Blogs Posts

  1. Object Serialization Pitfall

    by , 04-25-2012 at 11:16 PM
    It shall be kept in mind while dealing with object serialization that hashtable is maintained by the ObjectOutputStream which maps the objects which have been written in stream, to a handle. When object has been written for very first time to the stream, all of its contents are copied into stream. However, writes after it would be resulting in a handle, to that object which has been written to stream. Couple of problem might arise.

    • When a written object to stream is written and