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 RMI and what are the services in RMI?

617


What modifiers may be used with an inner class that is a member of an outer class?

582


Name three subclasses of the component class?

625


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

563


Explain the steps in details to load the server object dynamically?

4552






How to deploy Jar, War files in J2EE?

2184


What is the purpose of the wait(), notify(), and notifyall() methods?

577


Why a component architecture for the java platform?

588


What are the call back methods in entity bean?

573


Is a class a subclass of itself?

596


What is the relationship between local interfaces and container-managed relationships?

602


How would you reatach detached objects to a session when the same object has already been loaded into the session?

693


What is bean? Where can it be used?

585


What is the difference between a static and a non-static inner class?

602


Which component handles cluster communication in jboss?

636