Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 86483 invoked from network); 14 Mar 2006 22:12:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Mar 2006 22:12:17 -0000 Received: (qmail 59337 invoked by uid 500); 14 Mar 2006 22:12:15 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 59322 invoked by uid 500); 14 Mar 2006 22:12:15 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 59311 invoked by uid 99); 14 Mar 2006 22:12:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Mar 2006 14:12:15 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [204.136.66.109] (HELO dfwmail002.pbsg.com) (204.136.66.109) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Mar 2006 14:12:13 -0800 Received: from ([156.81.226.181]) by dfwmail002.pbsg.com with ESMTP id KP-VYNR8.78754724; Tue, 14 Mar 2006 16:11:27 -0600 Received: from pepwmu00195.corp.pep.pvt ([157.146.10.203]) by pepwmr00051.corp.pep.pvt with Microsoft SMTPSVC(6.0.3790.211); Tue, 14 Mar 2006 16:11:27 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Re: How to make dao's / vo's more polymorphic Date: Tue, 14 Mar 2006 17:11:26 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: How to make dao's / vo's more polymorphic Thread-Index: AcZHrDxo58N/+tpjTAemHoIqD/J2CQAB0pcQ From: "Voorhoeve, Niels {PBG}" To: X-OriginalArrivalTime: 14 Mar 2006 22:11:27.0270 (UTC) FILETIME=[3D2D4460:01C647B4] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I beg to differ. I think one of the primary goals of OO is to make the semantics of the object transparent, hence comprehensible, hence reusable. Your approach completely negates that goal and in fact obfuscates the code (unless you are the privileged programmer who wrote it in the first place and has the whole mess memorized). =20 -----Original Message----- From: news [mailto:news@sea.gmane.org] On Behalf Of netsql Sent: Tuesday, March 14, 2006 3:58 PM To: user-java@ibatis.apache.org Subject: Re: How to make dao's / vo's more polymorphic Using Collections for VO makes them *reusable*, which is what OO's only=20 goal, to make you more productive via reuse. They are dynamic VO in the sense that one cad add a column in SQL or in=20 view from version 1.0 of your web app to 2.0, and you can do so w/o any=20 code changes in the VO. Sorry that you do not see the benefits. I sure=20 used to do the "beans" way for many years, but now I gave it up. Plenty of people do it that way. I "learned" it from ActionScript=20 talking to back end. .V Clinton Begin wrote: There's nothing OO > about them -- Period. >