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 Writing serialized objects to files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Writing serialized objects to files" Watch "Writing serialized objects to files" New topic

Writing serialized objects to files

pamela jones

Joined: Apr 26, 2003
Posts: 5
I am trying to figure out how to write serialized objects to a file and then deserialize the object. I am lost on this subject. Any coding examples I can follow? Thank you.
Francis Siu
Ranch Hand

Joined: Jan 04, 2003
Posts: 867
hi pamela
For output the Object

For input object

I hope this can help you a lot

Francis Siu
Kathy Sierra
Cowgirl and Author

Joined: Oct 10, 2002
Posts: 1589
Howdy Pamela
I have a PDF file on serialization (10 pages, very easy to read) at:
serialization PDF

Co-Author of Head First Design Patterns
Just a Jini girl living in a J2EE world.
I agree. Here's the link:
subject: Writing serialized objects to files
It's not a secret anymore!