Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Sharing among session of ONE application

Shapira, Yoav

2004-01-13



Howdy,

>Now, I've got some information I WOULD like to share across all
sessions of
>the application (but not across other Tomcat applications). So, that
>should mean that all I really have to do is defined the information in
>instance variables (and remember when using it that it can change
>unexpectedly). Right?

Instance variables of servlet classes are only one option. Consider
using servlet context attributes or singletons as well.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.