Forums Register Login

Serialization Unleashed

+Pie Number of slices to send: Send
Hello Ranchers,

Here is my question : I have read books regarding Serialization and came to know how the serialization works ,but i can't think of the programming situations where we need to use serialization. I know that to store the state of the objects we use it but can any one provide me some useful links or at least the programming situations where the concept of serialization comes into play.
Please take it easy as this question may seem silly to some people.

Thanks & Regards
Girish
+Pie Number of slices to send: Send
Hi
Just consider the situation where you have to send the data to a remote computer?
How would you do to send it across a network. The date could be text,numeric or combination of both.
So to send the data in one format irrespective of type of data send and to minimize the overload of other parameter the data needs to be sent as Bytes.
so implementing serializable will change the object into bytestream automatically and data is send, the user need not to bother about anything
+Pie Number of slices to send: Send
Thank you very much Harshit
He's dead Jim. Grab his tricorder. I'll get his wallet and this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1760 times.
Similar Threads
Custom Serialization
why haskell (functional programming languages) ?
What's the difference
What is Serialization?Where we use This?
about Serializable
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:08:26.