Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 44578 invoked from network); 17 Jul 2008 18:17:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jul 2008 18:17:06 -0000 Received: (qmail 10381 invoked by uid 500); 17 Jul 2008 18:17:05 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 9999 invoked by uid 500); 17 Jul 2008 18:17:04 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 9988 invoked by uid 99); 17 Jul 2008 18:17:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2008 11:17:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of matej.knopp@gmail.com designates 216.239.58.184 as permitted sender) Received: from [216.239.58.184] (HELO gv-out-0910.google.com) (216.239.58.184) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2008 18:16:11 +0000 Received: by gv-out-0910.google.com with SMTP id n40so6306gve.18 for ; Thu, 17 Jul 2008 11:16:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=XczfJ1Q9J7n+7WZqxt9iXAp0PkyMdhCO5G0gJmOedNM=; b=OibHO5KXRVLy5bYDkEMVF9pKSiW0N19X1o83To/rQ7WHQHXj/ahPuayTP8VIQX3mxk 5Zn53Q2i2hEixW1qcqaw63eYsNC+YHBNz5kyZAnp8DDU8dH+6etFAO2sRQOd3nG5SWTp ymGB76gw95QIrm2ETfqejD8gykpE8ttuC8rIQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tZVLvpanYhVQ52/rx6FxugRH2KVMCZaay3hTyBr+NnILhC6zdR69QSC/8fJnNSXjwX BLbGDacnA7nEAdNgZqrRbJy4+jA4UEop0SvC79kejMOc0srPYiCJtpd02vNxlqCiPIr9 4HawJJZQlLTuHSGXdfEVh65Oh6Q3q+YaFKzbk= Received: by 10.103.204.1 with SMTP id g1mr2201451muq.9.1216318592543; Thu, 17 Jul 2008 11:16:32 -0700 (PDT) Received: by 10.103.211.16 with HTTP; Thu, 17 Jul 2008 11:16:32 -0700 (PDT) Message-ID: <109027740807171116o3045ee6ft215b9e29ff2ea611@mail.gmail.com> Date: Thu, 17 Jul 2008 20:16:32 +0200 From: "Matej Knopp" To: dev@jackrabbit.apache.org Subject: Re: Connection pooling In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <109027740807151733g247e4dc8g4df2ffc2b675903f@mail.gmail.com> <487DE45C.2010405@gmx.net> <109027740807161030i75865634ke75cbab77c55ea1f@mail.gmail.com> <109027740807170711n46661b4awfc9d53cd2fcd202@mail.gmail.com> <91f3b2650807170947q58d94969lb95c4af04627b663@mail.gmail.com> <109027740807171007h16c2a459wcaa7530c32005fa6@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org > > If you get database connection pooling in Jackrabbit without > DataSources (using the aforementioned commons-dbcp for example), why > do you need a explicit DataSource configuration inside the > repository.xml then? > I don't really understand the question. What exactly do you mean by " database connection pooling in Jackrabbit without DataSources"? DataSource is just an interface to isolate jackrabbit from the details of who and how is providing database connection. Jackrabbit doesn't need to know how exactly the data source obtains the connection, or if it is from a pool or not. The whole idea is to make jackrabbit agnostic of source of the connection while allowing easy configuration for scenarios when jackabbit actually is responsible for managing the database connections (embedded databases). -Matej > Regards, > Alex > > > -- > Alexander Klimetschek > alexander.klimetschek@day.com >