File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes difference between serializationa and externalization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "difference between serializationa and externalization" Watch "difference between serializationa and externalization" New topic
Author

difference between serializationa and externalization

Anand Jain
Greenhorn

Joined: Jul 27, 2009
Posts: 18
I have searched this question and found the reply as:

Serialization provides default mechanism for saving an object whereas in Externalization there is no default mechanism and we can control the process and have to override readExternal and writeExternal methods to save an object.

In serialization also we can override readObject and writeObject method to control the process of saving an object so where is the difference between serialization and externalization? Can somebody please throw some light on this?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36477
    
  16
Start with a copy of Thinking in Java™ by Bruce Eckel, which has a good explanation in.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difference between serializationa and externalization
 
Similar Threads
serialization/externalization
Serialization and Externalization
Serialization Vs Externalization
externalization in java
difference between Serializaton and Externalization