What is serialization used for

Showing Answers 1 - 5 of 5 Answers

paramasivam.k

  • Aug 2nd, 2005
 

serilzation used for write object to hardisk or socket 
generally java-object are runtime entity. by using serlization technique this object can be store and get backoas original..who of those object can be serilized is identified this "Seriliable" interface

  Was this answer useful?  Yes

Vinay Kumar Samudrala

  • Sep 28th, 2005
 

Hi Friends,

                Serialization is used to make the marshaling and un marshaling ie., If any object is the serializable object we can make it as byte-Objects and Object-bytes. ie we can use that object remotely.

The Best example is Connection,ResultSet and Statement objects. these are not the Serializable objects.  Thatswhy we are taking the data in the DB class by using the util package classes we retrive,read the data in the webbased and MVC archetecture applicatins.

 

 

  Was this answer useful?  Yes

prasadnaidu.s

  • Oct 11th, 2005
 

Comment:Hi,

Serialization is used to store the state of the object to the disk

  Was this answer useful?  Yes

Serialization is a java technology for creating persistent object.

A persistent object is the one whose state can survive beyond the application boundry in which object was created.

Representing an object state in series of bytes is called Serialization

  Was this answer useful?  Yes

Radhey Krishna Yadav

  • Apr 18th, 2006
 

Serialization is a techniques which maintain the state of the object.In java automatically call the destructer and destroy the object by the gc()method.We want to my object state can be maintain so we use the concept of serialization

For Example

Suppose in railways reservation we use the concept of the serialization.The serialization provide the persistancy of the object and store the state of the object.This object will be destroy after the server shutdown or server crash if this concept is not use in the railways reservation then every time execute the business method and that process is very slow because of every time code execute and instance create of the class.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions