0

Hi all,

I understand the concept of Serialization but,want to know
1.when we use this in realtime? and
2.under what situations we can use this?

I tried to google but cant find an satisfactory answer.Please help me out.
Thanks in advance

6
Contributors
5
Replies
25
Views
2 Years
Discussion Span
Last Post by rubberman
0

I understand the concept of your question but want to know

  1. is this homework
  2. what was unsatisfactory about the answers you found

You might want to glance over the rules once more.

0

See http://www.parashift.com/c++-faq/serialization.html
There, it is defined as:
Serialization lets you take an object or group of objects, put them on a disk or send them through a wire or wireless transport mechanism, then later, perhaps on another computer, reverse the process: resurrect the original object(s). The basic mechanisms are to flatten object(s) into a one-dimensional stream of bits, and to turn that stream of bits back into the original object(s).

Edited by Maritimo

0

XML is frequently used to serialize objects and such these days. There are many packages that will help you with that for Java, C, C++, and other languages. And don't forget, you still need to de-serialize it at the other end of the connection. This may not be trivial.

Edited by rubberman

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.