This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Struts and the fly likes How to Modify Resource Bundle While your application is Running withou restarting Ser Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "How to Modify Resource Bundle While your application is Running withou restarting Ser" Watch "How to Modify Resource Bundle While your application is Running withou restarting Ser" New topic
Author

How to Modify Resource Bundle While your application is Running withou restarting Ser

SHAILESH BARDE
Greenhorn

Joined: Apr 21, 2005
Posts: 2
Friends!
Can any body tell me How to Modify Resource Bundle While your application is Running withou restarting Server?

Its a fact Well Known Fact that ,When your application first access a resource bundle,struts loads the bundle into Memory & Caches it so that it can be quickly accessed again.Because of this,if you modify your Resource Bundles while your application is running,you will have to restart server before you see the changes.

However i need to change the resource Bundle without starting the server as it is a need of the application.

Please guide to solve this problem?

SHailesh


Shailesh J. Barde<br />Alphonso Informex,Pune
SuprajaY Yasoda
Greenhorn

Joined: Oct 17, 2005
Posts: 17
You'll need to implement and configure [http://struts.apache.org/struts-core/userGuide/configuration.html#5_2_2_Message
_Resources_Configuration
] your own resource bundle
factory that takes care of the reloading (or search the net, someone's
probably already published one you can use).
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to Modify Resource Bundle While your application is Running withou restarting Ser
 
Similar Threads
Message Resource Bundle
Restarting Websphere v5.0 Test Environment
Custom ResourceBundle class?...
how to load a new jar file while server is running
How to initialize connection pool withou restarting Tomcat