Thursday, February 12, 2009

How can I customize the seralization process? i.e. how can one have a control over the serialization process

Question :How can I customize the seralization process? i.e. how can one have a control over the serialization process?
Answer :Yes it is possible to have control over serialization process. The class should implement Externalizable interface. This interface contains two methods namely readExternal and writeExternal. You should implement these methods and write the logic for customizing the serialization process.

No comments: