Explain Object Serialization and it can be used?

Answer Posted / devarathnam c,kotagudibanda(po

Hi,
Object Serialization: It is process of storing an object
state as permanently in the file(secondary storage).Java is
internet language ,so we need to serialize an object
into "bit-blobs" streams inorder to send an object(s) over
the network.To achieve this task we can use "Serializable"
interface(Marker interface),"ObjectOutputStream"
and "ObjectInputStream" classes also plays key role in the
Serialization process.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is colon_pkg_prefixes and what is its use?

2251


What is the purpose of the wait() method?

860


What is metaspace?

815


What is Remote Server?

1930


How can I avoid validating a form before data is entered?

786


To identify IDL language what mapping mechanism is used?

3697


What are the different approaches to represent an inheritance hierarchy?

869


Explain about thread synchronization inside a monitor?

2275


What classes of exceptions may be caught by a catch clause?

798


Do you think that java should have had pointers?

866


What are transaction attributes?

870


What are the different class loaders used by jvm?

861


What class is used to create Server side object ?

1974


What are callback interfaces?

867


Difference between DurableSubscription and non- DurableSubscription?

1971