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 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 external configuration, but this 
> requires to customize the container JVM ("-Dxxx=yyy"). Is there a 
> better "JEE" way to do such things ?
>
> Nico.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to