aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes serialization's writeObject() vs Externalization writeExternal() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "serialization Watch "serialization New topic
Author

serialization's writeObject() vs Externalization writeExternal()

sharan vasandani
Ranch Hand

Joined: Feb 22, 2007
Posts: 100
what is the difference if we implement Serializable and provide writeObject() which does not have a call to writeDefaultObject()
writeObject() has only customized logic, no call to default serialization.

How is this different from implementing Externalizable?
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9321
    
  17

Serializable is not on the exam any more...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Rajiv Vadehra
Greenhorn

Joined: Mar 01, 2011
Posts: 9

Serialization is no more in the scjp6 exam syllabus?? sure about it...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: serialization's writeObject() vs Externalization writeExternal()