Saturday, 28 August 2010

Customising Serialization process

You can customize the process of serialization by two ways :

1. write your own readObject and writeObject methods in your class (which of course implements serializable interface. )

2. Implement Externalizable interface and override methods writeExternal and readExternal.

No comments:

Post a Comment