File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
Java in General
Serializable Vs Externalizable
Joined: Apr 08, 2004
Feb 27, 2010 16:36:40
Both Serializable and Externalizable used for Serialization. Externalizable extends from Serializable. Why
has Externalizable for Serialization (looks duplicate interface)?
Joined: Apr 30, 2003
Feb 27, 2010 21:17:06
Externalizable expects the user to define the write and read methods themselves. Serializable provides write and read methods.
Externalizable lets the programmer control the Serialization process.
This is a pretty good summary of the difference:
They give the example of programatically controlling which fields of your object get serialized
I agree. Here's the link:
- it saves me about five hours per week
subject: Serializable Vs Externalizable
io and java.net for certification?
Serialization and Externalization
Serialization - Seriallizable Vs Externalizable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013