This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Serialization" Watch "Serialization" New topic
Author

Serialization

Harry Pattern
Greenhorn

Joined: Nov 27, 2002
Posts: 23
What do you mean by Serialization in Java ?
What is the effect of Serializable when implemented in classes ?
Thanks
le taylom
Ranch Hand

Joined: Dec 01, 2000
Posts: 44
Serialization is how you can convert an object into a byte stream, and later deserialze it back into the original object.
Can be useful if you want to write an object to a file, or pass it across the network; or to any type of stream available!
If a class implements the serializable interface then it can be serialized.
T
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
You may want to take a look at The Object Serialization Lesson of Sun's Java Tutorial.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
GeeCON Prague 2014
 
subject: Serialization