Use the SystemPropertiesService. See the server/default/deploy/properties-service.xml for details.
xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ----- Original Message ----- From: "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 > 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 of course, and further we > need it within the client too. > > I know we could use some property mechanism within ejb-jar.xml, but I > cannot figure out how to get this with XDoclet and I am not sure I > like this because different machines/servers need different > properties. > > Is there a Right (tm) way to do this? > > -- > Jon Haugsand, <[EMAIL PROTECTED]> > Norges Bank, <http://www.norges-bank.no> ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user