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 6D6209B54 for ; Thu, 8 Mar 2012 07:21:52 +0000 (UTC) Received: (qmail 41014 invoked by uid 500); 8 Mar 2012 07:21:24 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 37186 invoked by uid 500); 8 Mar 2012 07:21:15 -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 34846 invoked by uid 99); 8 Mar 2012 07:19:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 07:19:52 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.27.42.2] (HELO smtp2-g21.free.fr) (212.27.42.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 07:19:45 +0000 Received: from [192.168.0.4] (feu30-2-82-246-236-191.fbx.proxad.net [82.246.236.191]) (Authenticated sender: aurelien.benel) by smtp2-g21.free.fr (Postfix) with ESMTPA id 2C70E4B0165 for ; Thu, 8 Mar 2012 08:19:17 +0100 (CET) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1257) Subject: Re: the best java client library From: =?iso-8859-1?Q?Aur=E9lien_B=E9nel?= In-Reply-To: Date: Thu, 8 Mar 2012 08:19:17 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1257) X-Virus-Checked: Checked by ClamAV on apache.org Hi, > The majority of the time a good HTTP client library and JSON library = are 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/REST= Database.java = https://github.com/Hypertopic/Porphyry/blob/master/src/org/hypertopic/REST= DatabaseTest.java Regards, Aur=E9lien=