May 2001
Intermediate to advanced
1088 pages
30h 13m
English
| Q1: | All I did was change a method; why can't I deserialize my data anymore? |
| Any change to a class makes it incompatible with the previous version unless you use the serialVersionUID field. |
| Q1: | Why won't my client and server talk to each other when using object streams? |
| You must make absolutely sure that you flush the ObjectOutputStreamafter you create it (before you write any data). It writes some header information that the ObjectInputStream constructor tries to read. |
Read now
Unlock full access