Dynamic configuration problem.
1 posts in topic
Flat View  Flat View

Posted By:   Tao_Li
Posted On:   Monday, December 17, 2001 01:58 PM

My manager wants to switch a button on and off without changing the code itself. To do that, I used ResourceBundle to read the "showButton" parameter from a property file. However, ResourceBundle read the parameter and cached it, and I can't switch the button on or off without bouncing the server. I know Properties.load() will refresh the loading each time, but I have to hard code the location of the property file, and I don't want to do that because this piece of code will be moved around to different servers. Does anyone have a better idea how to do this?

Thanks in advance.

Re: Dynamic configuration problem.

Posted By:   Luigi_Viggiano  
Posted On:   Monday, December 17, 2001 04:34 PM

About | Sitemap | Contact