• Post Reply Bookmark Topic Watch Topic
  • New Topic

What does Serializable mean?  RSS feed

 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to hear it from your own words people... Thanks!
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read up on Serializable, ObjectInputStream, ObjectOutputStream? Those will give you good details on how it all works.

You can implement the Serializable interface to indicate an object is willing to be serialized. Once an object is serializable you can use the transient keyword to indicate a variable is not to be serialized as part of the object.
[ January 12, 2006: Message edited by: Stan James ]
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Serealization is the process of reading and writing an object to a stream. For an introduction to how this works, check the Serialization Tutorial from Sun.

Layne
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!