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 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 9291
    
  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()
 
Similar Threads
defaultReadObject() required?
About Serializable
Session Replication Mandatory?
Blocking on calls to read/writeObject
Doubt on Serialization?