In general JavaBeans require:
* A parameterless constructor
* Get/Set methods to define properties
Both of these break encapsulation at a fundamental level and are not compatible with the best practices of today, like constructor injection for example.
They cause classes to be designed very loosely, very mutable and kind of ugly when all is said and done. Not to mention the verbosity of coding a get/set method for every class.
It's ugly. :-)
Clinton
On 10/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:
Hi !
>Don't fall for "Sun Standards". I did, and iBATIS is worse for it.
Interesting, can you tell us a little more about that ? what's "worse" ? J
Thanks,
Erlend
