Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 45210 invoked from network); 18 Nov 2010 16:25:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Nov 2010 16:25:38 -0000 Received: (qmail 34143 invoked by uid 500); 18 Nov 2010 16:26:08 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 33868 invoked by uid 500); 18 Nov 2010 16:26:06 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 33859 invoked by uid 99); 18 Nov 2010 16:26:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 16:26:05 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of carl.henrik.lundgren@gmail.com designates 209.85.212.180 as permitted sender) Received: from [209.85.212.180] (HELO mail-px0-f180.google.com) (209.85.212.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 16:26:00 +0000 Received: by pxi14 with SMTP id 14so543752pxi.11 for ; Thu, 18 Nov 2010 08:25:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=0WuQUxGF+e6tQcXx4z8HePfSH0wFr/9cJfgtHfl6LwI=; b=gckXrFMeLr2x/myWQIp2u/9eXBt8ougPg0J/RkzOrME8cxxMyFAjMnf9bCIHJ4Q1bO ThHHso/ibA30vZ74kfHX8MT2ZeZirwXlJMf2iCGnnWpyfXXQbCh5T3EipL7QRLOcRAGp Z010F7I2WiBduzlOa6rTlIISd5XLVp1EzYhg0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=i9gvi1mjkcTZ5yhHCZKWVu8k0zE9ZNXzLju6pKBquXd8k0/Q3otKTRTm6g6eXY3Dyy QOtd2zj/f0THvBAkpQKtCO/1z2d3PK8Nl8mzjpjIzrjxEqjVgcly8Ux60zDpYB5spdAD zojjJVsouuyrZjBbp8rAqfmW7+QtrvR+9VqpY= MIME-Version: 1.0 Received: by 10.229.228.76 with SMTP id jd12mr713276qcb.291.1290097538877; Thu, 18 Nov 2010 08:25:38 -0800 (PST) Received: by 10.229.104.202 with HTTP; Thu, 18 Nov 2010 08:25:38 -0800 (PST) In-Reply-To: <928B34FB-D10B-4CA3-B1F2-76FC61C47903@utt.fr> References: <4CE53C1F020000A50009CFB9@cputpri.cput.ac.za> <928B34FB-D10B-4CA3-B1F2-76FC61C47903@utt.fr> Date: Thu, 18 Nov 2010 17:25:38 +0100 Message-ID: Subject: Re: Reading from couchDB into table From: Henrik Lundgren To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If we are going to plug Java connectors for CouchDB I might aswell mention Ektorp. In contrast to its peers, It has good refence documentation: http://www.ektorp.org/reference_documentation.html It is quite flexible in terms of mappable types, you can use plain Objects, Maps or JsonNodes (DOM like API) Here's the project site: http://code.google.com/p/ektorp/ Regards Henrik Lundgren (creator of Ektorp) On Thu, Nov 18, 2010 at 4:43 PM, Aur=E9lien B=E9nel = wrote: > Hi, > >> I recommend using a CouchDB library for Java. > > By the way, we have created yet another java client library. > > We use it for information visualisation (which means displaying a lot of = data at the same time). Therefore, the emphasis is put on improving read pe= rformance (cached bulk GET). On _changes, the cache is cleared and the obse= rvers are notified. > > It's called RESTDatabase: > =A0 http://porphyry.git.sourceforge.net/git/gitweb.cgi?p=3Dporphyry/porph= yry;a=3Dblob_plain;f=3Dsrc/org/hypertopic/RESTDatabase.java;h=3Db7d67a31464= 75d9057dd8fec40967dd10514146d;hb=3DHEAD > > And it is tested here: > =A0 http://porphyry.git.sourceforge.net/git/gitweb.cgi?p=3Dporphyry/porph= yry;a=3Dblob_plain;f=3Dsrc/org/hypertopic/RESTDatabaseTest.java;h=3D6b5dfcb= 2d1022fe586b2c22b77ee517aa4a20b54;hb=3DHEAD > > We minimized the dependencies to a single modified org.json library: > =A0 http://porphyry.git.sourceforge.net/git/gitweb.cgi?p=3Dporphyry/porph= yry;a=3Dtree;f=3Dsrc/org/json;h=3D311adf0af9d49f0dfc1d9fbafeb113bb23eb29fe;= hb=3DHEAD > > > Regards, > > Aur=E9lien (for the Hypertopic team)