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 the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

574


what is the use of State Factories?

1911


which book is better for jdbc ,servlets and jsp

1648


What is RMI and what are the services in RMI?

613


What is the purpose of the finally clause of a try-catch-finally statement?

561






What is local interface. How values will be passed?

558


Explain about local interfaces.

593


What is a modular application? What does module-relative mean?

545


What is the difference between the session.update() method and the session.lock() method?

560


Difference between hashmap and hashtable?

610


To what value is a variable of the string type automatically initialized?

613


Why use POJO when I can use hashmap

2049


When a thread blocks on i/o, what state does it enter?

578


What is a clone?

576


Will the general public have access to the infobus apis?

532