Stanimir Komitov wrote: > Hi, > > How to exclude some classes to being serialized in sharing session with > clustered tomcats? > I`m using hibernate, spring, java mail, apache commons dbcp, pool ... > and to serialize/deserialize sessions all the classes must implement > Serializable (or Externalizable), and I think that it`s not a solution > to correct all classes I use in all APIs. And why the application scope > beans are serialized too?
If you don't want it serialized, don't put it in the session. More seriously, most of what you quote above should never go anywhere near a user's session. Mark > > Thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
