0 votes
by
Explain essential difference between Externalizable and Serializable in Java?

1 Answer

0 votes
by

The difference between Serializable and Externalizable in Java?

1) Serializable interface is used to make Java classes serializable so that they can be transferred over a network or their state can be saved on disk, 

2) It leverages default serialization built-in JVM, which is expensive, fragile and not secure. Externalizable allows you to fully control the Serialization process, specify a custom binary format and add more security measure.

...