Serializable vs Externalizable

Can any-one tell me the difference b/w Serializable and Externalizable.Which one we should use? i.e. when we should use Serializable ? and when we should use Externalizable?Please tell me?
[209 byte] By [rahul.sunjava] at [2007-9-30 20:41:38]
# 1

Serializable is simpler to implement (The minimum is to just "implements Serializable) and simpler to extend (e.g. it manages inheritance)

Externalizable gives you most control, but you have to do more yourself.

If you are starting out, just use Serializable. It turns out to be inadequate then you can convert the classes which need Externalizable to be be those.

Note: You don't have to just use one or the other.

Peter-Lawrey at 2007-7-7 1:30:38 > top of Java-index,Core,Core APIs...