giacomo wrote:
> On Mon, 20 Aug 2001, Sylvain Wallez wrote:
>
>
>>giacomo wrote:
>>
>>>On Thu, 16 Aug 2001, Sylvain Wallez wrote:
>>>
>>>
>>>>What about the "Cocoon contracts" post from Berin ? It contains
>>>>interesting ideas to allow more components to be ThreadSafe - and thus
>>>>avoid unnecessary pooling - but leads to interface changes.
>>>>
>>>>IMO, if interfaces should change, we'd better do that in the 2.0 branch
>>>>than in 2.1 only, to avoid compatibility problems in the future.
>>>>
>>>>
>>>>
>>>+1, could you take care of it?
>>>
>>>Giacomo
>>>
>>>
>>>
>>Do you mean go on changing the interfaces as proposed by Berin ?
>>
>>I like Berin's clever analysis, but there has been little feedback on
>>it, and changing these interfaces has implications on existing custom
>>components that people may have developped.
>>
>
> Maybe I've missed something but the changes proposed will only affect
> behaviour of custom components. There isn't any change that makes custom
> code non-compilable/-runnable.
>
> Giacomo
>
The proposed API changes that break compatibility are on Reader and
Generator : in order to allow ThreadSafe implementations, parameters of
setup() and setOutputStream() (for Reader) should be moved as parameters
of generate().
--
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]