aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Plz help me............ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Plz help me............" Watch "Plz help me............" New topic
Author

Plz help me............

sapana jain
Ranch Hand

Joined: Oct 24, 2007
Posts: 42
i am trying the code for serialization from K&B but it is not running.
the page no. are 445 to 447.
Deepak Jain
Ranch Hand

Joined: Aug 05, 2006
Posts: 637
Make sure.
1. All the classes implement "Serializable" interface. Parent, Child classes and if any other classes that the class references to.
2. Make sure readObject() is invoked in the same order in which writeObject was invoked.
Here is the code that i tried and it works fine.


Thanks
Deepak


SCJP, SCWCD, SCBCD
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14104
    
  16

Originally posted by sapana jain:
i am trying the code for serialization from K&B but it is not running.
the page no. are 445 to 447.

When you ask a question, tell the details - explain exactly what you are doing and what error messages you get. What does "it is not running" mean?

Also, please use a meaningful subject line instead of "Pl z help me.....". Imagine what the forum would look like if everyone would only use "Help!", "Please...", "Problem!" etc.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Plz help me............