This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Serialization Vs Externalization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Serialization Vs Externalization" Watch "Serialization Vs Externalization" New topic
Author

Serialization Vs Externalization

Hs Raveendran
Greenhorn

Joined: Feb 05, 2010
Posts: 23

What is the main difference between Serialization and Externalization
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4164
    
  21

The best answer to your questions can be found in this tutorial

The basics: Serialization relies mostly on 'default' mechanisms for getting data into a serialized format, and provides some means over modifying that behavior. Externalization allows you to completely customize the serialization process - it provides no default serialization mechanism, so you are responsible for, but also have complete control over, every value which gets externalized/serialized.


Steve
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19649
    
  18

Next time please SearchFirst. This question has come up more times than I can remember.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: Serialization Vs Externalization
 
Similar Threads
Serialization and Externalization
we know that serialization is null,so is there any advantage using it other than ...
difference between Serializaton and Externalization
Using Externalization?
Externalization