Re: variables

Johan Eltes <[email protected]> Thu, 6 Oct 2005 22:26:11 +0200
Newsgroups gmane.comp.java.sun.ejb.general
Message-ID <[email protected]>
Instance fields of EJBs should only be used to hold objects that are
request-independent.
Technically I may work anyway, since only one thread at a time will
have access to an EJB instance.

/Johan

6 okt 2005 kl. 21.33 skrev SUBSCRIBE EJB-INTEREST anonymous:

> Hi,
> Is it safe to have member variables in stateless bean?
>
> I want to use the member variable in bean private methods after
> assigning
> its value in bean's method?
>
> ======================================================================
> =====
> 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".