Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Externalizable Vrs Serializable  RSS feed

 
Sully Sylvester
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference in implementing Externalizable as opposed to Serializable. For example what extra features does Externalizable interface provide.
 
Roshini Sridharan
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Serializable interface allows persistence of object state to any specified source and how it does is predefined.

Externalizable interface allows to provide our own definition of how the object state is to be maintained.

Hope this helps.

Regards
 
Sumit Deshpande
Ranch Hand
Posts: 38
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!