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
What is RMI and what are the services in RMI?
What modifiers may be used with an inner class that is a member of an outer class?
Name three subclasses of the component class?
What classes of exceptions may be caught by a catch clause?
Explain the steps in details to load the server object dynamically?
How to deploy Jar, War files in J2EE?
What is the purpose of the wait(), notify(), and notifyall() methods?
Why a component architecture for the java platform?
What are the call back methods in entity bean?
Is a class a subclass of itself?
What is the relationship between local interfaces and container-managed relationships?
How would you reatach detached objects to a session when the same object has already been loaded into the session?
What is bean? Where can it be used?
What is the difference between a static and a non-static inner class?
Which component handles cluster communication in jboss?