tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: creation of a common session variable.
Date Thu, 20 Sep 2007 19:58:15 GMT
Another possibility is to store it in the ServletContext (ie application 
scope) if it's just used on one webapp. 

--David

Dale Nesbitt wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>I believe you can load any JavaBean using JNDI, and the bean will be
>shared between all sessions in the context.
>
>Pavan Singaraju wrote:
>  
>
>>Hi,
>>   i have a design related question. I have to maintain some data common to
>>all sessions. If one session updates the value in the data structure, then
>>it should either updated in all the sessions / in the common data structure.
>>Is there an approach i can go with?
>>--
>>Pavan S. Kumar
>>
>>    
>>
>
>- --
>Dale Nesbitt
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.7 (MingW32)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
>iD8DBQFG8shRC1ww7auTZ7URAlSjAKDaHeNjh07pnBIDxqR7fgVisha5wwCfZTb2
>r1kJOhmqGBuBKWFXh59KbLU=
>=d5Z+
>-----END PGP SIGNATURE-----
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>  
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@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