Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 436B59C85 for ; Thu, 8 Mar 2012 13:44:56 +0000 (UTC) Received: (qmail 54060 invoked by uid 500); 8 Mar 2012 13:44:54 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 53633 invoked by uid 500); 8 Mar 2012 13:44:52 -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 53602 invoked by uid 99); 8 Mar 2012 13:44:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 13:44:50 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of patrickjourdanmaia@gmail.com designates 209.85.160.52 as permitted sender) Received: from [209.85.160.52] (HELO mail-pw0-f52.google.com) (209.85.160.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 13:44:46 +0000 Received: by pbcuo15 with SMTP id uo15so1992708pbc.11 for ; Thu, 08 Mar 2012 05:44:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ORNgIMEuhp3XQGpzu2unQT4Nk805McnvyqT+FxJWSRg=; b=DQ9utggVz0YDVt8w5/sdU+rzz6zNTfKNKpHRJGLyxAEb66QT+HLuBPMsP0Dlnsf+hy uHARIbcD1+Qux85r1iaG0OQX4I0OhnjQpkZKaTCLDldV0rsAEnr7iU1IuThRgDO7HZvo xx0FR8EiwRHvPXrXJ5sOngSmC3XvNxYQ48gm/0xrxID+gIr3FmiCUd5cJPaTfzjQx4AU HYpFfw2qaxNF+I/1btBuHyv3ZqIBYWhdv0AnkqXvhvl+/leT0WrQMy9Y1ELAmkvafFCN l3ucYNPcqhAUXFNVNIa6v1tHrXEzkmrPMw3EkSlkXJ0y+XoGNKVKaiNnATG/v0rmiV9U UNPg== MIME-Version: 1.0 Received: by 10.68.229.33 with SMTP id sn1mr9879004pbc.59.1331214265518; Thu, 08 Mar 2012 05:44:25 -0800 (PST) Received: by 10.68.43.169 with HTTP; Thu, 8 Mar 2012 05:44:25 -0800 (PST) In-Reply-To: References: Date: Thu, 8 Mar 2012 10:44:25 -0300 Message-ID: Subject: Re: the best java client library From: Patrick Maia To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=047d7b1601bb6a886f04babb799c X-Virus-Checked: Checked by ClamAV on apache.org --047d7b1601bb6a886f04babb799c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you. I'll take a look in ektorp, but I think I'll end up writing my own lib as most of you did. Patrick Maia +55 83 8740-8192 On Thu, Mar 8, 2012 at 4:19 AM, Aur=E9lien B=E9nel w= rote: > Hi, > > > The majority of the time a good HTTP client library and JSON library ar= e > enough. > > Indeed. Once you have good libraries for JSON and HTTP, it's rather easy > to write your own CouchDB library. > > For instance, here is mine, following the "data access object" design > pattern, with a focus on read performance (cached bulk GET), easy > navigation in views and notifications on _changes: > > > https://github.com/Hypertopic/Porphyry/blob/master/src/org/hypertopic/RES= TDatabase.java > > https://github.com/Hypertopic/Porphyry/blob/master/src/org/hypertopic/RES= TDatabaseTest.java > > > Regards, > > Aur=E9lien --047d7b1601bb6a886f04babb799c--