serialization process using core java concept
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   naga_renu
Posted On:   Monday, March 26, 2007 01:10 AM

How we use serialization process in core java concept give me the brief explanation

Re: serialization process using core java concept

Posted By:   Anonymous  
Posted On:   Monday, March 26, 2007 02:24 AM

Hi Renu,


Serialization is a process of persisiting the state of an Object.persisting is nothing but storing it in some format it can be in database,file or anything that can be retrievable.

In java to make a Object Serializable you can implement the interface called java.io.Serializable(Marker interface) which doesn't contain any methods.Serialization is useful when you are accessing the any object thru network(for example using RMI or EJB etc...)

.If you are using RMI the Remote object should be serializable so that the underlying RMI will take care of the serialization of your object.Suppose if you need any thing special while serializing the object you can implement two methods called writeObject & readObject.
More information you can find here

Regards,
Krishna Rajendra A.
About | Sitemap | Contact