tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: How to exclude some classes to being serialized in sharing session with clustered tomcats?
Date Tue, 10 Feb 2009 16:30:54 GMT
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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message