File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Writing serialized objects to files

pamela jones
Greenhorn

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
SCJP, MCDBA
Kathy Sierra
Cowgirl and Author
Ranch Hand

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


Co-Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0596007124/ref=jranch-20" target="_blank" rel="nofollow">"Head First Design Patterns"</a><br /> <br />Just a Jini girl living in a J2EE world.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Writing serialized objects to files
 
Similar Threads
passing custom object from jsp to applet
How the Marker Interfaces provides the functionality to its object implementation?
what is the output
When is a session object serializable?
ObjectInputStream peek