Your success is dependent on the EJB server you are using (i.e.
non-portable).

-Chris.

> -----Original Message-----
> From: Javier Borrajo [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, October 26, 1999 5:08 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: EJB Restrictions-- threads, io
>
> We use singletons with EJBeans. It works.
> We asked for permission (;-) in the list and several people gave it...
> anyway, we simply can't live without singletons.
>
> Regards
>
>     Javier Borrajo
>     www.tid.es
>
> >----- Original Message -----
> >From: Steve Roth <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Tuesday, October 26, 1999 7:12 PM
> >Subject: EJB Restrictions-- threads, io
> >
> >
> >| I forgot to mention the most important restriction I've seen-- no
> static
> >| methods/data members
> >|
> >| Can U have static methods/data members?
> >
> >Forbidden.
> >
> >But let's generalize it more:
> >How can we have singleton objects?
> >
> >As far as I know only entity beans and JNDI contents are shared,
> >session beans don't. But entities are persistent. Suppose I want
> >to have something like a "static activeUsersList" in a bean and act
> >as a true singleton object, only one instance avialable.
> >How can I "cleanly" implement it?
> >
> >Ara Abrahamian
> >bi!
> >
> >=========================================================================
> ==
> >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".

===========================================================================
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".

Reply via email to