Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 959502

Pages: 1
Joe Mari
Unregistered




Dynamic configuration
      #34844 - 08/03/06 05:16 AM

I have come across the following syntax within a configuration or properties file in a legacy project I am to upgrade.

<some-tag>
...
<some-config value=${theVariable}/>
...
</some-tag>

I do not think that there is custom code that parses the file so that it is updated (it is an xreg jetspeed config file, read at startup), but I think that this is a pretty cool mechanism for dynamic configuration of applications if the properties come from the shell environment variables and can be set at will.

Any info on the technique above is welcome

Joe
(mailto: kalohr@gmail.com)



Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 4200

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5