Scotty,

What is the need for this? Any stateless session variable can have a normal
variable that's initialised in the ejbActivate() and ejbCreate() methods.
static variables are fugly in a distributed environment because they're only
per JVM - remember this !

-mike

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of SCOTT FARQUHAR
> Sent: Thursday, May 03, 2001 3:48 PM
> To: Orion-Interest
> Subject: Stateless Session Beans
>
>
> I'm hoping that someone can help me with this.
>
> Can you have a stateless session bean that actually has class variables?
>
> Ie I want to have a variable that is loaded once per application,
> and then accessed by all the whole application.
>
> I know that SLSB are pooled and created and destroyed at will -
> but will they be created with the variable containing a value?
>
> Any thoughts are much appreciated.
>
> Scott
>
>
>


Reply via email to