Has anybody ever tried serializing a StandardContext?

StandardContext implements java.io.Serializable, but many
of its fields are not. I assume StandardContext has to
be serializable so it can be transmitted (e.g., via RMI)
to any remote javax.management.NotificationListener
(e.g., MapperListener) that gets notified of the context's JMX
registration.

I've started marking some of the non-serializable fields
as transient and reinitialize them in readObject(), but there
are so many direct and indirect references to non-serializable classes
that I'm afraid I'm opening a can of worms.


Jan


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

Reply via email to