Re: Static Variables in Session Beans

"K. Charan Kumar" <[email protected]>
Newsgroups gmane.comp.java.sun.ejb.general
Organization proactivenet
Message-ID <004c01c3cf64$57041370$5703a8c0@CharanKumar>
Shailesh,

If you start using static variables in Stateless session beans, meaning to
stateless session beans is lost...  May be u can use in Stateful session
beans...This is what I feel.

-Cheers
K.Charan Kumar
----- Original Message -----
From: "shailesh sinha" <[email protected]>
To: <[email protected]>
Sent: Wednesday, December 31, 2003 11:32 AM
Subject: Re: Static Variables in Session Beans


> Yes staic variable should be used in the Stateless
> session beans. EJB specs has only one limitation on
> the static variables that is it should be read only,
> by using final you are making it sure, So there is no
> any problem in that.
>
>  --- sanjeev kasarabada <[email protected]> wrote: >
> Can static final variables be used in Stateless
> > Sesion
> > Beans?? Is there any EJB limitation on that? Your
> > thoughts on this are appreciated.
> > Thanx,
> > Sanjeev
> >
> > __________________________________
> > Do you Yahoo!?
> > Find out what made the Top Yahoo! Searches of 2003
> > http://search.yahoo.com/top2003
> >
> >
>
===========================================================================
> > To unsubscribe, send email to [email protected]
> > and include in the body
> > of the message "signoff EJB-INTEREST".  For general
> > help, send email to
> > [email protected] and include in the body of the
> > message "help".
>
> ________________________________________________________________________
> Yahoo! India Matrimony: Find your partner online.
> Go to http://yahoo.shaadi.com
>
>
===========================================================================
> To unsubscribe, send email to [email protected] and include in the
body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [email protected] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.