Re: object serialisation
On 19-11-2010 02:12, BGB wrote:
On 11/18/2010 9:28 PM, Roedy Green wrote:
On Thu, 18 Nov 2010 16:07:54 -0800 (PST), feng<xu_feng_xu@yahoo.com>
wrote, quoted or indirectly quoted someone who said :
I can't understand the object serialisation concepts. The definition
is attached below. objects are already sequence of bits stored in a
file or memory buffer. so why all references define serialisation as a
mean to convert an object to a sequence of bits? I thought casting a
block of bits is more enough to resurrect the object or any other data
structure. any clarification please?
see http://mindprod.com/jgloss/serialization.html for an overview.
interesting...
although I haven't read the entire thing, it makes me wonder if I should
actually bother implementing the JVM's serialization mechanism in my own
pseudo-JVM (my VM supports JBC, but doesn't really aim to be a full JVM,
and many "unorthodox parts" are used).
It is a pretty important part of a JVM.
I seem to remember that is was one of the first things GCJ started
implementing.
If you are not creating a JVM, then obviously that does not apply.
Arne