Return-Path: Delivered-To: apmail-jakarta-taglibs-dev-archive@jakarta.apache.org Received: (qmail 29693 invoked by uid 500); 16 May 2001 03:25:41 -0000 Mailing-List: contact taglibs-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: taglibs-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list taglibs-dev@jakarta.apache.org Received: (qmail 29679 invoked from network); 16 May 2001 03:25:40 -0000 Received: from smtp-server2.cfl.rr.com (HELO smtp-server2.tampabay.rr.com) (65.32.2.69) by h31.sny.collab.net with SMTP; 16 May 2001 03:25:40 -0000 Received: from wsp500 (653274hfc116.tampabay.rr.com [65.32.74.116]) by smtp-server2.tampabay.rr.com (8.11.2/8.11.2) with SMTP id f4G3Pfv01191; Tue, 15 May 2001 23:25:41 -0400 (EDT) Message-ID: <004501c0ddb7$2ecb6850$02280a0a@wsp500> From: "Bill Pfeiffer" To: "Taglibs-Dev" , "Taglibs-User" Subject: Proposal: DBTags and RowSet Date: Tue, 15 May 2001 23:20:39 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N BACKGROUND: For my current project, I have reworked the DBTags ResultSet tags (and nested tags) to pull a javax.sql.RowSet out of a specified scope attribute and make the RowSet data available. This modification removes the statement.execute() call and allows me populate the RowSet in another tier (EJB). My RowSet tag iterates just like the ResultSet tag and makes its data available to nested tags in the same manner as ResultSet. After reviewing what I did, I thought it would make more sense for the DBTags to support this, rather than do the rewrite that I did. PROPOSAL: I'd like to put forward the question to both the dev and user mailing lists: Does it make sense / would it be useful for the DBTags to have the option of pulling a ResultSet object from some specified scope, as an alternative to performing a statment.execute() to obtain a ResultSet? Note that the object stored in the specified scope COULD be a RowSet as RowSet implements ResultSet. BENEFIT(S): The major benefit of this approach would be the seperation of data retrieval (business logic) from data presentation. What do you think? Bill Pfeiffer