hi!

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

Reply via email to