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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Serialization" Watch "Serialization" New topic


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.

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."
Deepak Chopra
Ranch Hand

Joined: Jul 23, 2007
Posts: 433


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:
subject: Serialization
jQuery in Action, 3rd edition