• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubts in serialization

Eusebio Floriano
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,
I read sun�s I/O tutorial bu i�m yet with some doubts.
I understood what is serializable and how to code an serializable class.
But I did not understand how it works. Given an example, recognize when, if, and wich constructirs will be called in an object�s inheritance chain durin deserialization.
The only thing that i found in this tutorial was too vague.
The readObject method deserializes the next object in the stream and traverses its references to other objects recursively to deserialize all objects that are reachable from it. In this way, it maintains the relationships between the objects.

[ March 02, 2005: Message edited by: Vinicius Boson ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic