This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Serialization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Serialization" Watch "Serialization" New topic
Author

Serialization

jignesh soni
Ranch Hand

Joined: Dec 10, 2007
Posts: 150
Can any one pls explain the use of serialization, I am confused with that concept.

Thanks
Nicholas Jordan
Ranch Hand

Joined: Sep 17, 2006
Posts: 1282
A rather simple explaination should be used for now.

Say there are some characters "a,b,c,d,e,f,g"

Serializatioin has to do with the fact that when writing files, such things have to be shipped down the wire one at a time, conceptually.

Hence, many files in Java which are normally classes, can be shipped down the wire ( internet ) with sufficient work. This is often talked about as serialization. Files, classes or what have you.
[ January 30, 2008: Message edited by: Nicholas Jordan ]

"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
Sunny Jain
Ranch Hand

Joined: Jul 23, 2007
Posts: 433

Hi,

Read this article, I have tried my Best to explain Serialization in simple terms..!!
Feel the Java Around us!!


Thanks and Regards,
SCJP 1.5 (90%), SCWCD 1.5 (85%), The Jovial Java, java.util.concurrent tutorial
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Serialization
 
Similar Threads
writing hashtable to a file
I/O
Encryption.... need help!!! :(
Object serialization
deserialization constructor execution doubt.