users@glassfish.java.net

Global variables in a project

From: <glassfish_at_javadesktop.org>
Date: Thu, 18 Sep 2008 16:51:43 PDT

Hi,

I have created a j2ee project which has a EAR and a WAR component. Now i want to declare a global variable somewhere which i can use anywhere in this project, e.g. in my session beans[ear], servlet[war] and in other utility files.

Is it possible to do something like this anyhow? Any comments will be appreciated.

Thanks.
SA
[Message sent by forum member 'appserver_user' (appserver_user)]

http://forums.java.net/jive/thread.jspa?messageID=300254