interactives
14 Commerce Place, 5th floor
Nun's Island, QC H4E 1T5
t: 514 768-1000
f: 514 768-7680
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: December 15, 2003 11:14
To: Struts Users Mailing List
Subject: RE: Reloading of application resources
At 11:42 AM +0200 12/15/03
To: Struts Users Mailing List
Subject: RE: Reloading of application resources
At 11:42 AM +0200 12/15/03, Nicklas Karlsson wrote:
On Mon, 15 Dec 2003, Yves Sy wrote:
Create a thread in your cache manager that polls for changes in the
timestamp of the properties file, say, every 5000 ms
On Tue, 16 Dec 2003, Eric SCHULTZ wrote:
I need to do something similar with additional configuration properties for
a particular action.
I figure I need to write a plug-in that creates a thread that checks the
properties file every x seconds and if changed reloads it into a context
I'd suggest that if you can achieve the same goals by writing a
PlugIn implementation that you might achieve by extending the
ActionServlet, you're probably better off writing the PlugIn.
You could avoid creating a thread by implementing a freshness check
at an access point. That is, rather
BDY.RTF
Description: RTF file
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I think someone mentioned an OJBMessageResources to retrieve
MessageResources from a database, some days ago.
I haven't tried yet (it's on my todo list) but maybe it has what you need.
Here goes the link:
http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsMessageResourcesFromDatab
ase
[mailto:[EMAIL PROTECTED]
Sent: December 16, 2003 14:53
To: Struts Users Mailing List
Subject: RE: Reloading of application resources
I'd suggest that if you can achieve the same goals by writing a
PlugIn implementation that you might achieve by extending the
ActionServlet, you're probably better
Hello,
We have a singleton factory that watches/caches/delivers
up-to-date ResourceBundles of property files based on the timestamp of the
watched file. What would be the natural way of refreshing (and triggering
a refresh) of a watched ApplicationResources.properties file so that
-
From: Nicklas Karlsson [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 5:10 PM
To: [EMAIL PROTECTED]
Subject: Reloading of application resources
Hello,
We have a singleton factory that watches/caches/delivers
up-to-date ResourceBundles of property files based
On Mon, 15 Dec 2003, Yves Sy wrote:
Create a thread in your cache manager that polls for changes in the
timestamp of the properties file, say, every 5000 ms and reloads it when
a new one is detected.
Yes, but the problem is not at the cache end, the issues are how
to trigger the
At 11:42 AM +0200 12/15/03, Nicklas Karlsson wrote:
On Mon, 15 Dec 2003, Yves Sy wrote:
Create a thread in your cache manager that polls for changes in the
timestamp of the properties file, say, every 5000 ms and reloads it when
a new one is detected.
Yes, but the problem is not at the
11 matches
Mail list logo