Return-Path: Mailing-List: contact ibatis-user-java-help@incubator.apache.org; run by ezmlm Delivered-To: mailing list ibatis-user-java@incubator.apache.org Received: (qmail 59277 invoked by uid 99); 16 Dec 2004 19:53:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of clinton.begin@gmail.com designates 64.233.184.203 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.203) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 16 Dec 2004 11:50:45 -0800 Received: by wproxy.gmail.com with SMTP id 70so238078wra for ; Thu, 16 Dec 2004 11:49:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Kwci5DZ63M9z2L2IWdQFIMu/27xJ9ITh4N+MTu7YCfGJ5MfqNqtkoZveCrAcQpBEce2zMmpZ8eqvB5MWO67cg39/vu+aag0Gs1xEM6/CAB5j/dT37BnnbNCGOZjFeHV6fWv4VEPZoOxEs0dcMivaGXDmW5AdE8gME5s47DwtXuc= Received: by 10.54.30.3 with SMTP id d3mr1096815wrd; Thu, 16 Dec 2004 09:00:00 -0800 (PST) Received: by 10.54.33.19 with HTTP; Thu, 16 Dec 2004 09:00:00 -0800 (PST) Message-ID: <16178eb104121609005e21a62e@mail.gmail.com> Date: Thu, 16 Dec 2004 10:00:00 -0700 From: Clinton Begin Reply-To: cbegin@ibatis.com To: Kris Jenkins Subject: Re: was Re: Information about changelog - collections vs beans Cc: Vic Cekvenich , ibatis-user-java@incubator.apache.org In-Reply-To: <41C1BBCD.4010406@yahoo.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1103085684.41bfc074c59fc@webmail.mcgill.ca> <16178eb104121506473dafc58d@mail.gmail.com> <41C18707.2020108@friendvu.com> <41C1BBCD.4010406@yahoo.co.uk> X-Virus-Checked: Checked 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 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/ > >