struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian McSweeney" <brian.mcswee...@aurium.net>
Subject Re: Distributed Application Scope?
Date Tue, 27 May 2003 09:53:27 GMT
Thanks Max. That's exactly what I needed to know.

----- Original Message -----
From: "Max Cooper" <max@maxcooper.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Cc: <jboss-user@lists.sourceforge.net>
Sent: Monday, May 26, 2003 11:48 PM
Subject: Re: Distributed Application Scope?


> My understanding is that application scope is NOT replicated across the
> cluster. Each node has its own application scope. However, if you have
> initializer code that will setup the application scope on each node,
> this may still be a reasonable approach.
>
> Watch out for ANYTHING that may ever need to change, however, since the
> changes will only occur on the node that initiated them, and the other
> nodes will have stale info until the next server bounce. If the info
> rarely changes, you could put it in a cache with a timed expiration. Or
> use a package designed to do distributed caching.
>
> -Max
>
> On Mon, 2003-05-26 at 03:00, Brian McSweeney wrote:
> > Hi all,
> >
> > I know that when you run a cluster you can use shared distributed
> > session scope. Can you also use shared distributed application scope?
> > I'm deciding whether or not to store some information, which won't
change
> > that often, in the application scope or not.
> >
> > Advice anyone?
> >
> > thanks,
> > Brian
> --
> Max Cooper <max@maxcooper.com>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message