aspose file tools*
The moose likes Beginning Java and the fly likes Serialization Unleashed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Serialization Unleashed" Watch "Serialization Unleashed" New topic
Author

Serialization Unleashed

Girish Vasmatkar
Ranch Hand

Joined: Apr 24, 2008
Posts: 201
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
Harshit Rastogi
Ranch Hand

Joined: Apr 15, 2008
Posts: 131
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


<a href="http://technologiquepanorama.wordpress.com" target="_blank" rel="nofollow">My Techie Blog</a><br /><a href="http://www.java-questions.com" target="_blank" rel="nofollow">Java Questions</a>
Girish Vasmatkar
Ranch Hand

Joined: Apr 24, 2008
Posts: 201
Thank you very much Harshit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Serialization Unleashed