What is Serialization?
Answers were Sorted based on User's Feedback
Answer / qim2010
Serialization is a process of reading or writing an object.
It is a process of saving an object’s state to a sequence of
bytes, as well as a process of rebuilding those bytes back
into a live object at some future time. An object is
marked serializable by implementing the java.io.Serializable
interface, which is only a marker interface -- it simply
allows the serialization mechanism to verify that the class
can be persisted, typically to a file.
Is This Answer Correct ? | 5 Yes | 0 No |
In computer science, in the context of data storage and
transmission, serialization is the process of converting a
data structure or object into a sequence of bits so that it
can be stored in a file or memory buffer, or transmitted
across a network connection link to be "resurrected" later
in the same or another computer environment. When the
resulting series of bits is reread according to the
serialization format, it can be used to create a
semantically identical clone of the original object. For
many complex objects, such as those that make extensive use
of references, this process is not straightforward.
This process of serializing an object is also called
deflating or marshalling an object. The opposite operation,
extracting a data structure from a series of bytes, is
deserialization (which is also called inflating or
unmarshalling).
Is This Answer Correct ? | 3 Yes | 1 No |
Explain the common use of ejb?
What is a yaml file in java?
How do I run a java project?
Where are group policies stored? : java security
Which framework is best for rest api java?
What is gui in java with examples?
How the java is platform independent?
What is stateless class in java?
What are all the documents have you involved in preparation of a Project as a Project Lead?
Can optional be null?
Why do we create dto in java?
Which type of stream is in java?