Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 99280 invoked from network); 1 Oct 2007 06:44:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2007 06:44:23 -0000 Received: (qmail 38669 invoked by uid 500); 1 Oct 2007 06:44:12 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 38649 invoked by uid 500); 1 Oct 2007 06:44:12 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 38640 invoked by uid 99); 1 Oct 2007 06:44:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Sep 2007 23:44:12 -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 jukka.zitting@gmail.com designates 64.233.184.238 as permitted sender) Received: from [64.233.184.238] (HELO wr-out-0506.google.com) (64.233.184.238) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 06:44:13 +0000 Received: by wr-out-0506.google.com with SMTP id c38so4260745wra for ; Sun, 30 Sep 2007 23:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; 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=iIsXnNGowVfY0yI5enn4JBL6vEiw70AoHx645K/dt1U=; b=Xsd67AAPiCN/rnPPatw5VKYk+9bia3HwQgPFL1psCi8jxoNyRzYWGTXxR8EaOWqlqWoRo2uaKpmqNtAT/yszC/ibZ+zqGjpI3U5U+Bqjy9agXG/85ZtiNNEMDsZX0UUiJbH69Pm1+LmgskwRNc/YryTvYrYIZJEtJckcC2AkQIg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ba+j5cJjeyFRpDkYmHqy2Rh8g9DDqYejUThDowL2l+MeNAs/PoqTPU4/xemj3Bz6aeStov6W0xgwW++4hFe3StWOdBhG9L3W20bnsoSoSHfE0OeG8gdeN3LCM4hbxM0lloPRAz/2wT9rZypbzx1tYfr74d3RbdKSZEIzhxhbJY0= Received: by 10.90.36.3 with SMTP id j3mr5024490agj.1191221032609; Sun, 30 Sep 2007 23:43:52 -0700 (PDT) Received: by 10.142.143.14 with HTTP; Sun, 30 Sep 2007 23:43:52 -0700 (PDT) Message-ID: <510143ac0709302343od7132dcv8e7c139e33f1ef08@mail.gmail.com> Date: Mon, 1 Oct 2007 09:43:52 +0300 From: "Jukka Zitting" To: users@jackrabbit.apache.org Subject: Re: TransientRepository Vs. BindableRepository In-Reply-To: <891E73869BB73A48A3E6F2014F03F99A05F17A35@cop1w2smail2.na1.vis.verizon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <891E73869BB73A48A3E6F2014F03F99A05F17A35@cop1w2smail2.na1.vis.verizon.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, On 10/1/07, Khanapurkar, Mona A. wrote: > I would like to have a clear picture of TransientRepository Vs. > BindableRepository. What are their pros and cons? Which one should I use > in what circumstance? TransientRepository is a simplified Repository entry point, that gives you default configuration (though you can explicitly override it) and automatically shuts down the repository when the last session is closed. TransientRepository is typically used in test or example code, and sometimes in simple embedded deployments. BindableRepository is a Repository entry point that can be bound to a JNDI directory for lookup and use as a shared resource in a J2EE environment. BindableRepository is typically used in Model 2 deployments in servlet containers. BR, Jukka Zitting