I'll try to reiew this sometime in the next week - unfortunately I spent far
longer on beanutils bugs than I planned this past week - the
DateLocaleConverter drove me mad at one point and I spent a load of time on
test cases that I didn't envisage.

Niall

----- Original Message ----- 
From: "robert burrell donkin" <[EMAIL PROTECTED]>
To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]>
Sent: Sunday, July 11, 2004 10:27 PM
Subject: [beanutils] beanification interfaces


> the code base which will be released as 1.7.0 contains the
> beanification changes. basically, the booch utilities which provided
> the main facade for beanutils (BeanUtils, PropertyUtils and
> ConvertUtils) have been converted into thin delegates for concrete
> classes (BeanUtilsBean, PropertyUtilsBean, ConvertUtilsBean) which now
> contain the implementation methods. a separate instance is used per
> context classloader (in other words, they are quasi-singletons). this
> should provide better isolation when run in a container environment
> (for example, in web applications).
>
> we should take this opportunity to review this design before we commit
> to supporting it in future releases.
>
> i think now that it would be better to separate the implementations
> from the (logical) interfaces for the beans (which would be empty
> abstract classes since it's easier to preserve compatibility with an
> abstract class than an interface). this would make it easier for
> alternative implementations to be created. in the long run, i'd like to
> be able to support stuff like alternative conversion engines and bean
> query languages. i think that separating interface from implementation
> would allow these features to be added more easily.
>
> comments encouraged :)
>
> - robert
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



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

Reply via email to