RE: [JBoss-user] How to use application specific properties - an example

2002-09-12 Thread Herve Tchepannou
Title: RE: [JBoss-user] How to use application specific properties - an example 1. I attached all the classes for my MBean:     - TeamSpaceConfigMBean.java:    This is the MBean interface     - TeamSpaceConfig.java:     This is the MBean implementation

RE: [JBoss-user] How to use application specific properties

2002-09-12 Thread Kim, Yong
Thanks, David. -Original Message- From: David Jencks [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 11:17 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] How to use application specific properties file:[EMAIL PROTECTED]@/thirdparty/libelis/lido/etc/ This

Re: [JBoss-user] How to use application specific properties

2002-09-12 Thread David Jencks
on't mind, would you share that code us? Very appreciated. > > Thanks, > Mitchell > > -Original Message- > From: David Jencks [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 12, 2002 10:05 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] How

RE: [JBoss-user] How to use application specific properties

2002-09-12 Thread Brian Towles
s. > And also, JMX is more and more a standard in J2ee world > > -Original Message- > From: Kim, Yong [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 12, 2002 9:12 AM > To: '[EMAIL PROTECTED]' > Subject: RE: [JBoss-user] How to use application specific

RE: [JBoss-user] How to use application specific properties

2002-09-12 Thread Kim, Yong
: "Jon Haugsand" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, September 12, 2002 4:14 AM > Subject: [JBoss-user] How to use application specific properties > > > > We have a local property file containg such things like name of > > ma

RE: [JBoss-user] How to use application specific properties

2002-09-12 Thread Saroj Kumar
Yes!!! This is the trade-off . -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Kim, Yong Sent: Thursday, September 12, 2002 7:41 PM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] How to use application specific properties That's use

RE: [JBoss-user] How to use application specific properties

2002-09-12 Thread Kim, Yong
r 12, 2002 6:42 PM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] How to use application specific properties I use external configuration file just because of the reason you mentioned, "I am not sure I like this because different machines/servers need different properties".

Re: [JBoss-user] How to use application specific properties

2002-09-12 Thread David Jencks
ugsand" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, September 12, 2002 4:14 AM > Subject: [JBoss-user] How to use application specific properties > > > > We have a local property file containg such things like name of > > machine

RE: [JBoss-user] How to use application specific properties

2002-09-12 Thread Kim, Yong
CTED]> ] Sent: Thursday, September 12, 2002 9:12 AM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] How to use application specific properties I use external configuration file just because of the reason you mentioned, "I am not sure I like this because different machines/se

RE: [JBoss-user] How to use application specific properties

2002-09-12 Thread Saroj Kumar
7; Subject: RE: [JBoss-user] How to use application specific properties I use external configuration file just because of the reason you mentioned, "I am not sure I like this because different machines/servers need different properties". And I created a static class that reads in the key=

RE: [JBoss-user] How to use application specific properties

2002-09-12 Thread Herve Tchepannou
Title: RE: [JBoss-user] How to use application specific properties In my application, I also have some application properties store in a property file. I prefer creating a MBean that loads all thoses properties when JBoss boot, an in my EJB, I can nicely access those properties. The other

RE: [JBoss-user] How to use application specific properties

2002-09-12 Thread Kim, Yong
ains stays running. Mitchell -Original Message- From: Jon Haugsand [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 7:15 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] How to use application specific properties We have a local property file containg such things like name o

Re: [JBoss-user] How to use application specific properties

2002-09-12 Thread Scott M Stark
lt;[EMAIL PROTECTED]> Sent: Thursday, September 12, 2002 4:14 AM Subject: [JBoss-user] How to use application specific properties > We have a local property file containg such things like name of > machines, files, ip-addresses and such for legacy interfaces. I found > out (the ha

RE: [JBoss-user] How to use application specific properties

2002-09-12 Thread Maris Orbidans
> Is there a Right (tm) way to do this? Right and standart way is to use environment properties. This should work in any EJB container. See an example ejb-jar.xml below. Maris http://java.sun.com/dtd/ejb-jar_2_0.dtd";> DataAccess DataAccess

[JBoss-user] How to use application specific properties

2002-09-12 Thread Jon Haugsand
We have a local property file containg such things like name of machines, files, ip-addresses and such for legacy interfaces. I found out (the hard way) that I could place this file in the ${JBOSS_HOME}/bin directory, presumably because it is from there we run the server. It shouldn't stay there