Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 24230 invoked from network); 7 Jul 2008 15:42:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jul 2008 15:42:00 -0000 Received: (qmail 58858 invoked by uid 500); 7 Jul 2008 15:41:57 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 58839 invoked by uid 500); 7 Jul 2008 15:41:57 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 58793 invoked by uid 99); 7 Jul 2008 15:41:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 08:41:56 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.6.21] (HELO gmp-eb-inf-1.sun.com) (192.18.6.21) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 15:41:03 +0000 Received: from fe-emea-09.sun.com (gmp-eb-lb-2-fe1.eu.sun.com [192.18.6.10]) by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m67FfHS9004407 for ; Mon, 7 Jul 2008 15:41:17 GMT Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K3N0060157FNV00@fe-emea-09.sun.com> (original mail from Dag.Wanvik@Sun.COM) for derby-dev@db.apache.org; Mon, 07 Jul 2008 16:41:17 +0100 (BST) Received: from khepri23.norway.sun.com ([129.159.112.235]) by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K3N00A8H7KAEY00@fe-emea-09.sun.com> for derby-dev@db.apache.org; Mon, 07 Jul 2008 16:41:00 +0100 (BST) Date: Mon, 07 Jul 2008 17:40:57 +0200 From: Dag.Wanvik@Sun.COM (Dag H. Wanvik) Subject: Re: simpler api to the Derby store In-reply-to: Sender: Dag.Wanvik@Sun.COM To: derby-dev@db.apache.org Message-id: MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT References: <4863BD11.5050402@sun.com> <4863C0CD.6070303@amberpoint.com> <486A6E52.8000800@sbcglobal.net> <486A8B09.7010106@sun.com> <7921d3e40807022339q5ae0a3f6ja63867114f8e9f44@mail.gmail.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1 (usg-unix-v) X-Virus-Checked: Checked by ClamAV on apache.org Knut Anders Hatlen writes: > although the API could need to be cleaned up and made easier. If someone > wants to do such a cleanup, I think it would be good because > > a) it may make Derby code that accesses the store simpler (easier to > understand, more maintainable) > > b) it is easier for other projects to use Derby's store directly > without needing to fork Derby's code base (which potentially > increases Derby's user base and the chance of getting contributions > back from those projects) If the API were cleaner/easier, it would also make it more palatable to produce other backends for Derby. We have had attempts to make main memory backends; I am not sure why these never made it into "production", though, could a backend API complexity be one reason?