Can you determine this from your InitialContext?
> I have a class which is used in both EJB and non-EJB environments, and
> some of its behavior is determined by whether or not it's running
> inside an EJB container. Right now, I'm using a system property,
> "NO_EJB", which I set from the command line to tell the class that
> it's not running inside an EJB container. What I'm wondering is
> whether or not there's a more elegant way for the class to determine
> if it's running inside an EJB container, that doesn't rely on command
> line switches. Is there some other system property that will always be
> set in an EJB environment but not set otherwise? Or some other part of
> the runtime system it could interrogate to find out this information?
===========================================================================
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".