• Post Reply Bookmark Topic Watch Topic
  • New Topic

What is Serializtion ?  RSS feed

 
Vasantha Prabha
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is serializtion?.What is the meaning of storing the state of an Object
as byte stream ?
Regards,
Vasantha
 
Arnold Reuser
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java’s object serialization allows you to take any object that implements the Serializable interface and turn it into a sequence of bytes that can later be fully restored to regenerate the original object. This is even true across a network, which means that the serialization mechanism automatically compensates for differences in operating systems. That is, you can create an object on a Windows machine, serialize it, and send it across the network to a Unix machine, where it will be correctly reconstructed. You don’t have to worry about the data representations on the different machines, the byte ordering, or any other details
also read : http://www.faqs.org/docs/think_java/TIJ314.htm#Heading15545
When you would like to know more about it. Just ask and try to be more specific.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!