This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
i need to find a replacement for the *.property file.
because, if we update a property file, we need to restart the server. So, i need to find a method, where i can change the property values without restarting the server.
I am using java 1.4 and the server is web sphere.
need help from you all!
Inshar Anas wrote: . . .we need to restart the server.
If the property file is contained within an web application (assuming this, since you are running websphere), it should be reloaded when one redeploys a web application. No server restart necessary. I'll move this topic to the websphere forum to make sure.
I maintain a web app that was written before the age of hot-redeploy and it spawns a thread that watches a collection of resources for changes. When a change is detected it reloads the resource. I'm not sure if that is the current solution to avoid a redeploy to update resources.