Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 5508 invoked by uid 500); 28 Aug 2001 17:46:07 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: struts-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 5501 invoked from network); 28 Aug 2001 17:46:07 -0000 Received: from femail23.sdc1.sfba.home.com (24.0.95.148) by daedalus.apache.org with SMTP; 28 Aug 2001 17:46:07 -0000 Received: from netmeme.org ([24.183.239.167]) by femail23.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010828174604.ICPC24171.femail23.sdc1.sfba.home.com@netmeme.org> for ; Tue, 28 Aug 2001 10:46:04 -0700 Message-ID: <3B8BDC25.2070602@netmeme.org> Date: Tue, 28 Aug 2001 12:00:05 -0600 From: Bryan Field-Elliot User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3+) Gecko/20010825 X-Accept-Language: en-us MIME-Version: 1.0 To: struts-user@jakarta.apache.org Subject: Re: Performance, Reflection, and Object Creation vs. Cacheing References: <3B8B17EA.20501@netmeme.org> <3B8BA07E.E7A9A707@apache.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks for the insights Ted, Please help me if I'm misinterpreting. But looking at your code, it seems like your "populate" still takes a plain Bean as it's destination, although it can use a property set (in this case, a ResultSet) as the source. This reduces the proliferation of Value (or other Bean) classes by 50%, but not 100%. In your scenario, which set of beans still need to be developed as plain old beans rather than dynamic sets of properties (e.g. the Entity beans, the Value Objects, or the Struts Form Beans, etc?)? Thanks, Bryan Ted Husted wrote: > > public static void populate(Object bean, > ResultSet resultSet) >