--- On Tue, 8/26/08, Roger wrote: > On Monday 25 August 2008 16:48:27 Dave Newton wrote: > > --- On Mon, 8/25/08, "Stephan Schröder" wrote: > > > This seems to indicate that all the objects reachable > > > through this object should be serializable, too?! > > > > No, only the ones you want serialized. > > > I believe Servlet Containers such as Tomcat use > serialization to maintain session data across a > cluster (assuming you don't use sticky sessions) and > surely therefore everything reachable through a session > must therefore be serializable?
That's what the "transient" keyword is for (and writeObject/readObject). http://java.sun.com/developer/technicalArticles/Programming/serialization/ Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]