What is meant by Serialization?Say except "its a process of to store the state of an object to the byte stream."

Questions by premmm   answers by premmm

Showing Answers 1 - 2 of 2 Answers

it is way of moving obj from 1 place to a new place. lke if u hav jvm on desktop nd servr machne with jvm on 2. u can "Serialization" obj so it can be sent frm dsktop to srver.it is vry like xml. but unlike xml it is not cross platfrm, nd u can only seriialize frm one jvm runnng windows to a jvm rnning windows, not 2 JVM running Lunix, but with XML u can. always use XMLEncoder/XMLDecoder, nvr use Serialization.

  Was this answer useful?  Yes

jay

  • Sep 23rd, 2006
 

serialization is STORING an object somewhere, and ability to RESTORE it later with all it's state information.For example, when you define class as Serializable you mean that it's objects can be : a) saved to (for example) HDD at any time b) loaded from (for example) HDD EXCEPT for class fields you declare with keyword 'transient'

  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