I am reading on serialization topic from the the following url:
http://java.sun.com/j2se/1.5.0/docs/guide/serialization/spec/serial-arch.html#5800
In 1.2 Writing to an Object Stream section,I could not understand the following statement.Can you explain this,especially the first reference and handle.
statement
---------
Within a stream, the first reference to any object results in the object being serialized or externalized and the assignment of a handle for that object. Subsequent references to that object are encoded as the handle.
http://java.sun.com/j2se/1.5.0/docs/guide/serialization/spec/serial-arch.html#5800
In 1.2 Writing to an Object Stream section,I could not understand the following statement.Can you explain this,especially the first reference and handle.
statement
---------
Within a stream, the first reference to any object results in the object being serialized or externalized and the assignment of a handle for that object. Subsequent references to that object are encoded as the handle.