File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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


Harry Pattern

Joined: Nov 27, 2002
Posts: 23
What do you mean by Serialization in Java ?
What is the effect of Serializable when implemented in classes ?
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.
Dirk Schreckmann

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]
I agree. Here's the link:
subject: Serialization
It's not a secret anymore!