GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Programming  >  Java
Go To First  |  Previous Question  |  Next Question 
 Java  |  Question 16 of 928    Print  
What is serialization used for

  
Total Answers and Comments: 5 Last Update: April 18, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 02, 2005 11:45:18   #1  
paramasivam.k        

RE: What is serialization used for
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

 
Is this answer useful? Yes | No
September 28, 2005 05:53:56   #2  
Vinay Kumar Samudrala        

RE: What is serialization used for

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.


 
Is this answer useful? Yes | No
October 11, 2005 05:49:16   #3  
prasadnaidu.s        

RE: What is serialization used for

Comment:Hi

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


 
Is this answer useful? Yes | No
February 01, 2006 10:30:34   #4  
chandanareddy Member Since: January 2006   Contribution: 5    

RE: What is serialization used for

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


 
Is this answer useful? Yes | No
April 18, 2006 06:48:19   #5  
Radhey Krishna Yadav        

RE: What is serialization used for

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.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape