Hi ,
I have a question about custom serialization. I read about serialization on sun'web site.
http://developer.java.sun.com/developer/technicalArticles/Programming/serialization/ According to the above document, if i want to change the way i control serialization and deserialization process , i need to overide writeObject and readObject method.
But if i want to have the total control ( including the methods used for serilaization)i need to implement Externalizable interface which has readExternal and writeExternal methods.
So i guess, in the first case it is using
java standard object serialization.
But in case of Externalizable interface, i can specify my own serialization mechanism.
Please correct me, if the above statement is wrong.
If i decide to implement Externalizable, can some one provide me links where i can find examples of such implementation.
can some one throw light on the techniques and methods to improve the serialization ( example improving the speed of serialization).
Thanks very much for your time.
Thanks
Praveen.