Serialization Problem
1 posts in topic
Flat View  Flat View

Posted By:   ajit_roy
Posted On:   Friday, December 16, 2005 12:41 AM

Hi all,

I am not understanding Serialization.When we say Serialization of objects,we mean writing the object in bytes format in streams.But in case of RMI ,we do not write the serializable object into streams.Is it handled by JVM
internally or there is something else.Please express your views.

I also want to know that whenever we serialize an object,every time its our responsibility to write the object into stream or it is handled by jvm or some other software usin this serializable object.

with regards,

Re: Serialization Problem

Posted By:   Anonymous  
Posted On:   Friday, December 16, 2005 03:47 AM

serialization is the procee of writeing the state of an
object to a stream.
it's our responsibilty to explicitly store the object and
makeing it as jvm independent.

writeObject()---->method for writeing the state of an object.
readObject()----->method for reading and creating an object
of type that implements serializable interface.
About | Sitemap | Contact