tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Luehe <Jan.Lu...@Sun.COM>
Subject StandardContext and serialization
Date Thu, 16 Jun 2005 17:44:10 GMT
Has anybody ever tried serializing a StandardContext?

StandardContext implements, 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
(e.g., MapperListener) that gets notified of the context's JMX

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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message