• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Serialization Unleashed

 
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Girish Vasmatkar
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much Harshit
 
reply
    Bookmark Topic Watch Topic
  • New Topic