ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: [DISC] core extensions
Date Mon, 02 Apr 2001 09:46:37 GMT
Peter Donald <> wrote:

> At 11:26  2/4/01 +0200, Stefan Bodewig wrote:
>>There are places where interfaces are not appropriate IMHO. One
>>situation is where the contract between a Task and the core (or
>>TaskEngine) is more than just "Tasks have to adhere to a given
>>interface", but this contract also involves some rules about how to
>>implement that interface.
> Not really .. look at servlet API. There are rules that *should* be
> adheared to and 99% of the time are - which is why 99% of servlets
> extend GenericServlet or more likely HttpServlet.

I agree, this is a good solution, as the contract between Servlets and
the Servlet Container doesn't need to specify implementation
details. If this holds true for Tasks and Ant2, fine.


View raw message