On Sat, 2 Nov 2002, Max Kremer wrote:
> Date: Sat, 2 Nov 2002 13:57:36 -0500
> From: Max Kremer <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: Re: [OT] stati
2:58
> To: Struts Users Mailing List
> Subject: Re: [OT] static vs. application scope
>
>
> In my application I use the singleton pattern to cache information
> which is globally accessible. You can invoke the singleton in the
> init method of a servlet which is loaded on start
02:58
To: Struts Users Mailing List
Subject: Re: [OT] static vs. application scope
In my application I use the singleton pattern to cache information which is
globally accessible. You can invoke the singleton in the init method of a
servlet which is loaded on startup. This way you have one
: "Sri Sankaran" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, November 02, 2002 11:39 AM
Subject: RE: [OT] static vs. application scope
Sure, good point. What I was trying to establish was the difference in
*availability*
t: RE: [OT] static vs. application scope
It's not going to be available to anything outside its class with the stated
signature, static or not.
Mark
-Original Message-
From: Sri Sankaran [mailto:Sri.Sankaran@;sas.com]
Sent: Friday, November 01, 2002 4:45 PM
To: Struts-User
Subject:
It's not going to be available to anything outside its class with the stated
signature, static or not.
Mark
-Original Message-
From: Sri Sankaran [mailto:Sri.Sankaran@;sas.com]
Sent: Friday, November 01, 2002 4:45 PM
To: Struts-User
Subject: [OT] static vs. application scope
Wh
atic member.
-Original Message-
From: David Graham [mailto:dgraham1980@;hotmail.com]
Sent: Saturday, November 02, 2002 05:48
To: [EMAIL PROTECTED]
Subject: Re: [OT] static vs. application scope
One difference is that business objects (or non-web objects) can get to the
static data but
One difference is that business objects (or non-web objects) can get to the
static data but not the application context.
David
From: "Sri Sankaran" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts-User" &
What is the difference between making a property available in application scope as
opposed to making it static to a class? As a simple (contrived) example, I want to
maintain a mapping of car model and manufacturer. This being, un-changing I could
implement it as a static property of some clas
9 matches
Mail list logo