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
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
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
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
: "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
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
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".
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
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
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=
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
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
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
> 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
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
15 matches
Mail list logo