N
Norris Watkins
I was reading about serialization.
1. I could not quite understand how Externalizable can be faster than a
Serializable object with readObject/writeObject implemented. After all both
of them assigns the responsibility to you.
2. Does it have something to do with the format in which the object is store
? ( Maybe like Serializable objects use Serialization protocol version 1,
while Externalizable uses the later protocol 2 ? )
1. I could not quite understand how Externalizable can be faster than a
Serializable object with readObject/writeObject implemented. After all both
of them assigns the responsibility to you.
2. Does it have something to do with the format in which the object is store
? ( Maybe like Serializable objects use Serialization protocol version 1,
while Externalizable uses the later protocol 2 ? )