What is Externalizable interface?
Externalizable is an interface which have two methods readExternal and writeExternal. These methods give you a control over the serialization mechanism.
Therefore if your class executes this interface, you can customize the serialization process by executing these methods.