in advance!
Paulo Alvim
Powerlogic - Brazil
-Mensagem original-
De: Craig McClanahan [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 25 de novembro de 2004 15:18
Para: Struts Users Mailing List; [EMAIL PROTECTED]
Assunto: [struts] Re: Dynamically adding an ActionMapping
You will no
ould be easier to embed the different
open source projects within one another.
Just my 2 cents...
Regards...djsuarez
-Original Message-
From: Craig McClanahan [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 19, 2004 3:01 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re:
Along those lines, you might want to check out the backport of JSR 166
(java.util.concurrent):
http://www.mathcs.emory.edu/dcl/util/backport-util-concurrent/
And perhaps specifically ConcurrentHashMap:
http://tinyurl.com/6c98r
Craig McClanahan wrote:
Cool ... this looks like a much better solutio
Cool ... this looks like a much better solution to the problem that
FastHashMap tried to solve. And I trust the implementors of this
library a *heck* of a lot more than I trust myself (I wrote
FastHashMap originally) to get all the nitpicky details right.
Craig
On Mon, 20 Dec 2004 10:17:11 +13
Just for a laugh, I'll post this... I had just typed up the following
response, when it dawned on me exactly why the problem is on the read
side. I think I was subconsciously thinking that locking the HashMap
during the write would prevent any read from occurring, this is
obviously not the cas
Craig McClanahan wrote:
This is *exactly* where the problem lies. If one looks inside the
implementation of HashMap, one sees that there are times when the
internal data structures are being modified, and are in a potentially
inconsistent state that would corrupt a read operation happening on a
si
On Sun, 19 Dec 2004 09:53:55 -0500, Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
> While I agree completely with your point about maintainability and
> testability (I can't think of a single situation where I would ever
> consider dynamic configuration modification), I'm interested in how this
> mi
While I agree completely with your point about maintainability and
testability (I can't think of a single situation where I would ever
consider dynamic configuration modification), I'm interested in how this
might be allowed anyway...
Wouldn't it be possible to create a thread-safe modification
On Thu, 16 Dec 2004 11:21:01 -0500, Chaikin, Yaakov Y.
<[EMAIL PROTECTED]> wrote:
> Craig,
>
> What is the reason the configuration gets "frozen"? I don't mean to ask
> about the mechanics of how it's frozen. I am just curious as to why freeze
> it and not let it be dynamically updated during appl
From: Chaikin, Yaakov Y. [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 16, 2004 11:21 AM
To: 'Struts Users Mailing List'
Subject: RE: Dynamically adding an ActionMapping
Craig,
What is the reason the configuration gets "frozen"? I don't mean to ask
about the mecha
om: Craig McClanahan [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 25, 2004 1:18 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Dynamically adding an ActionMapping
You will not be able to do this in a ServletContextListener, because
that gets executed before the Struts servlet has
You will not be able to do this in a ServletContextListener, because
that gets executed before the Struts servlet has initialized the data
structures representing the configuration information. However, if
you write to the Struts PlugIn API, the init() method of this class is
called after the conf
12 matches
Mail list logo