On 3/15/02 7:11 AM, "Gabriel Sidler" <[EMAIL PROTECTED]> wrote:
> Geir Magnusson Jr. wrote: > >>>> Geir wrote: >>>> >>>>> A great example of application differences are scopes... Darn important >>>>> (sadly) in the servlet environment, but utterly irrelevant in Ant-driven >>>>> tasks. >>>>> >>> >>> Really? Conceptually, aren't there tools that apply to all templates of >>> a batch (global scope) and potentially others that are specific to a >>> particular template of a batch (local scope). >>> >> >> That's really far-fetched :) >> >> Isn't that a misuse of the concept of scope? You are talking more about the >> notion of a pull model, where the template itself decides on which tool to >> use and picks it accordingly out of the context. > > > No, I never thought that far. I am simpy thinking from the point of > view of a toolbox manager: When does it need to instantiate a tool? > - once for the entire runtime? (scope global) > - or once for every template processing? (scope local) > - or once for every xyz (scope xyz) > > If 'scope' is not the right term here, let me what would be better. I think that scope is the wrong term, because it has real meaning in the servlet API. And from the point of view of the toolbox manager, it doesn't matter what is happening in the app - it just gets requests for a populated toolbox from the app framework. So how it makes that toolbox each time is what I think we are talking about... -- Geir Magnusson Jr. [EMAIL PROTECTED] System and Software Consulting "Whoever would overthrow the liberty of a nation must begin by subduing the freeness of speech." - Benjamin Franklin -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
