| Author |
Serialization : Help Needed
|
Sandeep Vaid
Ranch Hand
Joined: Feb 27, 2006
Posts: 390
|
|
using writeobject and readobject : if we define these methods then also we won't be able to serialize the HAS-A relationship object. In other words, the Collar Object. Right ?
|
 |
prashanth kumar
Ranch Hand
Joined: Mar 22, 2004
Posts: 162
|
|
Assuming your Collar doesnt implements serializable,you are right. You are recreating the Collar object in readObject() and passing it on. Rgds Prashanth
|
SCJP1.5(86%)<br />SCWCD1.4(95%)<br />SCBCD1.3(92%)<br />IBM 252
|
 |
 |
|
|
subject: Serialization : Help Needed
|
|
|