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
What is out println in jsp?
What are the advantages of jstl?
How to connect jsp and java file?
How do I use comments within a jsp page?
What is scriptlet in jsp?
What are the directives in jsp?
What are the elements of a jsp page?
What is the jspinit() method?
Explain the steps for creating custom tags in jsp?
How can we use beans in jsp?
Why do we need custom tags?
Can a jsp page process html form data?
What is jstl (jsp standard tag library)?
What is jsp processing?
Show the 2 types of comments in JSP.