Peter Donald <[EMAIL PROTECTED]> 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. Stefan
