Is there any way to save the state of an object of a class which does not implement Serializable or Extenalizable?.
Created Oct 3, 2000
swarraj kulkarni Yes. You will have to write the value of each and every instance
variable into the persistent storage.
If there are 100 variables, you will have to store each of them individually. If some of the variables are object references, you
will have to follow each reference and save the state of that object
as well. You can do that, but it would be a proprietary solution
and each class that wanted to read your object would also
have to know all about your proprietary format.