why do we serialize objects in java code example
Example: serialization of object in java
Serialization in Java is a mechanism of writing
the state of an object into a byte-stream.
It is mainly used in Hibernate, RMI, JPA, EJB and JMS technologies.