ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: was Re: Information about changelog - collections vs beans
Date Thu, 16 Dec 2004 17:00:00 GMT
I'll back up Kris on that one.  In my experience, the result of Map
based domain models isn't pretty.

It depends on what you're doing.  I'm sure there are places where it
works well, but it's certainly the exception, not the rule.

Cheers,
Clinton

On Thu, 16 Dec 2004 16:46:05 +0000, Kris Jenkins
<krisajenkins@yahoo.co.uk> wrote:
> 
> >> This is just one reason why I always recommend using JavaBeans for 99%
> >> of your work.  Maps are inconsistent, unpredictable, not typesafe and
> >> slow.
> >
> > Hm.
> > I acctualy feel the other way, that 99% of time, Collections
> > implementations such as Map and List are good.
> > This way you can be loosley coupled.
> > I used to like Beans, but have moved to collections, (  I learned from
> > MM Flex.)
> 
> 
> :-/ That doesn't sound like loose coupling to me - that sounds like
> throwing away type safety.  By that logic, Perl would be inherently
> loosely coupled, which it isn't.
> 
> --
> Kris Jenkins
> Email:  kris@jenkster.com
> Blog:   http://cafe.jenkster.com/
> Wiki:   http://wiki.jenkster.com/
> 
>

Mime
View raw message