users
[Top] [All Lists]

In Container?

To: "users@xxxxxxxxxx" <users@xxxxxxxxxx>
Subject: In Container?
From: "Edward Sumerfield" <esumerfd@xxxxxxxxxxxxxx>
Date: Wed, 6 Dec 2006 18:29:57 -0500
Delivered-to: mailing list users@cinjug.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=E5fZS1NV0s2DaHOA1eIfqo8+exEERMF8/tvgexsAcYm+7kvm7K+bfc5CQCzXNkUyRyFsCOPllaia5Tvhiq/S00vD9EIWGMPbiL3RqCfSUAZihljq+MtYqRAgfE80R3dDD2z3nc7fJbxDuZwT/uGKhaUsa5HzoBuZv2TjpgJYmng=
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Reply-to: esumerfd@xxxxxxxxxxxxxx
Sender: esumerfd@xxxxxxxxx
Anyone know a built-in way to find out of my code is running within an
EJB container?

I want my ConfigFactory to return a configuration implementation that
is appropriate to the place where it is running without having to tell
it where it is running.

I tried "new InitialContext()" but somehow the default properties
allows it to work even when it is not in the container.

--
Ed

<Prev in Thread] Current Thread [Next in Thread>
  • In Container?, Edward Sumerfield <=