Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

About Serialization doubt

 
jai gurudev
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

any body tell is there anyway way to save the state of object wihtout implementing serializabe interface or externizable interface

regards

jaigurudev
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24213
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Serialization saves the state of an object automatically, which is nice, but there's nothing to keep you from implementing a "saveMe()" method in any class which saves all the member variables of an object to, say, a DataOutputStream.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!