Java Serialization impact of unused variables
Java serialization is a process of saving an object’s state to a byte stream and rebuilding the bytes into a Java object (may be at some future time).
As serialization is a concept based on maintaining the state of the object, so every attribute inside the object will have an impact on the amount of data serialized.
To explain the impact of unused variables on Java serialization lets take an example.
Written by Ravi Nallakukkala on April 4th, 2007 with no comments.
Read more articles on Java/ J2EE.