Thursday, July 11, 2002 03:19 AM
The ever best description of serialization concept is as follows:
Implementing Serializable marks the class as being capable of conversion into a self-describing byte stream that can be used to reconstruct an exact copy of the serialized object when the object is read back from the stream.
I think it would be helpful for u.
Saturday, June 15, 2002 11:56 AM
May be because the transfer of objects (between JVMs) basically means transfer of memory locations between two systems. Passing a reference is obviously not enough, since one process cannot refer to memory used by another process (General Protection I recon).
Only option left is to transfer the contents the whole memory occupied by an instance, and so you got to serialize it and send it as bits.
Feel free to correct me.