Best practice for external webapp configuration ?

2006-08-30 Thread Nicolas De Loof
Hello, I'm searching for best practice in JEE applications to put configuration elements outside the war/ear. Here is what I mean : My webapp requires some filesystem path to work (logs dir, system-dependent config files...). I'm using a java sytem property to setup a root path for

RE: Best practice for external webapp configuration ?

2006-08-30 Thread Kalra, Ashwani
You can set them in your startup class by reading the configuration file. System.setProperty() /Ashwani -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 1:08 PM To: Struts Users Mailing List Subject: Best practice for external

Re: Best practice for external webapp configuration ?

2006-08-30 Thread Nicolas De Loof
set them in your startup class by reading the configuration file. System.setProperty() /Ashwani -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 1:08 PM To: Struts Users Mailing List Subject: Best practice for external webapp

RE: Best practice for external webapp configuration ?

2006-08-30 Thread Lance
On jboss, this can be done by configuring the SystemPropertiesService. @see jboss\server\all\deploy\properties-service.xml Properties can be configured inline in the xml file or can be declared in a separate file which is referenced by properties-service.xml. Hello, I'm searching for best

Re: Best practice for external webapp configuration ?

2006-08-30 Thread Nicolas De Loof
Thanks for this info, I'm targeting Tomcat 4 (for developpers) and Websphere 5 (for production) Nico. Lance a écrit : On jboss, this can be done by configuring the SystemPropertiesService. @see jboss\server\all\deploy\properties-service.xml Properties can be configured inline in the xml