Serialisation
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   rak_s
Posted On:   Friday, June 14, 2002 04:44 AM

Re: Serialisation

Posted By:   irfan_mansha  
Posted On:   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.




take care,


irfan mansha.

Re: Serialisation

Posted By:   Anonymous  
Posted On:   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.


Ashok.
About | Sitemap | Contact