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

AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?

1923


Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

802


how to use debug in my elipse to solve problems that exist in my project

2003


What is bean? Where can it be used?

827


How to determine SGA site?

2183


Are enterprise beans allowed to use thread.sleep()?

914


Is there a guarantee of uniqueness for entity beans?

776


In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?

1853


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

847


When a thread blocks on i/o?

823


What are the diff types of exception?

783


what is a non-repeatable read?

2061


Why use POJO when I can use hashmap

2309


What is difference between object state and behavior?

841


What is clustering? What are the different algorithms used for clustering?

822