What is Externalizable?

Hi,

What is Externalizable?

Thanks,

View Answers

April 16, 2013 at 10:55 AM

Hi friend,

Externalizable is an interface which allows you to serialize your object in your own way or according to the custom rule that you have defined. Externalizable interface extends the Serializable interface and adds writeExternal() and readExternal() methods that are automatically called on object's serialization and de-serialization for providing the control over process. When you are using Externalizable interface to externalize object you must be required a default (no-argument) public constructor of implementing class.

For reading Java Serializable interface please go through the following link

http://www.roseindia.net/java/java-exception/serializable-exception.shtml









Related Tutorials/Questions & Answers:
Advertisements