What Do you Mean By Object Serialization in java.

Answer Posted / ritesh prabhu

Object Serialization extends the core Java Input/Output
classes with support for objects. Object Serialization
supports the encoding of objects, and the objects reachable
from them, into a stream of bytes; and it supports the
complementary reconstruction of the object graph from the
stream. Serialization is used for lightweight persistence
and for communication via sockets or Remote Method
Invocation (RMI). The default encoding of objects protects
private and transient data, and supports the evolution of
the classes. A class may implement its own external encoding
and is then solely responsible for the external format.

Serialization now includes an API that allows the serialized
data of an object to be specified independently of the
fields of the class and allows those serialized data fields
to be written to and read from the stream using the existing
protocol to ensure compatiblity with the default writing and
reading mechanisms.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jstl jar?

674


What is the standard action?

784


How to disable session in jsp?

715


What is full api?

707


What are directives? What are the different types of directives available in jsp?

681


What is contextpath in jsp?

683


What jsp lifecycle methods can I override?

780


Differentiate between and <%@include file=…>.

717


How does a jsp engine work?

684


What are the elements of jsp?

703


What is the use of jstl?

658


Can we define a class in a jsp page?

682


What is the standard action?

728


What is the difference between a scrollbar and a scrollpane in jsp?

658


How clear chache and buffer of opera browser.

2132