Re: [OT] static vs. application scope

2002-11-04 Thread Craig R. McClanahan
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] static vs. application scope In my application I use

Re: [OT] static vs. application scope

2002-11-03 Thread Steve Gass
: 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 instance of the object in the JVM Regards

RE: [OT] static vs. application scope

2002-11-02 Thread Andrew Hill
- 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 not the application context. David

RE: [OT] static vs. application scope

2002-11-02 Thread Galbreath, Mark
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 What is the

RE: [OT] static vs. application scope

2002-11-02 Thread Sri Sankaran
] 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: [OT] static vs

Re: [OT] static vs. application scope

2002-11-02 Thread Max Kremer
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*. In the proper context, both a static

RE: [OT] static vs. application scope

2002-11-02 Thread Andrew Hill
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 instance

Re: [OT] static vs. application scope

2002-11-01 Thread David Graham
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 [EMAIL PROTECTED] Subject: [OT] static vs. application scope