Ovidiu Predescu wrote:

> The two models are more like a "pull" model in the Avalon case, as
> opposed to a "push" model in the Ant case.
> 
> Personally I prefer the push model (the Ant way), as it's much easier
> to write and maintain over a longer period of time. The code that
> deals with the loading and instantiation of the right classes is
> centralized, thus you have to write it once and for all only in the
> engine.

For ant it makes perfect sense to have such a way of configuring things
(i.e. fully inerted, a-la javabeans). But for more general frameworks, I
disagree since, just like for beans, this forces you to have flat
configuration files or very complex data2method mapping schemes.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<[EMAIL PROTECTED]>                             Friedrich Nietzsche
--------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to