You can set the env properties for the application in the deployment
descripter xml file. This allows you to pass parameters to the
application...for example, your properties path.

OR more recklessly, you could pass the information you are pulling out of
your properties in your env, and bury the properties thingy once and for
all.

regards,

the elephantwalker


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Holden Glova
Sent: Wednesday, May 02, 2001 5:42 PM
To: Orion-Interest
Subject: property files or similar


Hello,

Aside from hardcoding a path to the
properties file we are using, is there
anywhere you specify these types of
resources to orion instead of hardcoded
in a class?

What would be the alternative to using
something like a property file, given
that a property file is *very* easy to
use?

Many thanks in advance for your inputs.

--
Holden Glova, [EMAIL PROTECTED]
Software Engineer
Alchemy Group Limited
Level 6 Royal Sun Alliance Bldg
PO Box 2386
Christchurch
New Zealand
Phone: +64 3 962-0396
Fax: +64 3 962-0388


Reply via email to