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 translation phase?

577


What is scriptlet, expression and declaration in jsp?

475


What is the use of jsp implicit objects?

480


What is the use of requestdispatcher?

528


What is el in jsp?

482






What is an expression language?

516


What is request getcontextpath ()?

508


What are context initialization parameters?

568


Explain the various scope values for tag.

506


Which directive is used in jsp custom tag?

525


Which two interfaces does the javax servlet jsp package have?

753


in jsf page i use two dropdown list.i.e state & district.if state dropdown is selected then & then district is enable.what should be my code.

2086


What is difference between jsp and jstl?

473


Why do we use jsp?

497


How many jsp scripting elements are there and what are they?

526