Peter Crowther wrote:
>> From: Dale, Matt [mailto:[EMAIL PROTECTED]
>> Yes this is a problem. All objects contained within a
>> serializable object must in turn be serializable themselves.
>
> Or marked as 'transient'.  This omits them from serialization.

If you mark them as transient, you may need need to implement a method
(ReadObject I believe) that properly initializes the transient
variables/objects.

There is an earlier post on this list where I describe how to do this. I
had a similar problem in that many of my classes had a Commons Logger
object stored in them. This had to be re-instatiated correctly when the
object was replicated.

HTH - Richard


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to