Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

serialization's writeObject() vs Externalization writeExternal()

 
sharan vasandani
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9510
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Serializable is not on the exam any more...
 
Rajiv Vadehra
Greenhorn
Posts: 9
Java Netbeans IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Serialization is no more in the scjp6 exam syllabus?? sure about it...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic