jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea K." <akre...@alteanet.it>
Subject Re: TransientRepository Vs. BindableRepository
Date Mon, 01 Oct 2007 09:55:15 GMT

Hi Jukka,
is it (also) right to do that using Repository rather than

Like this:

           InitialContext context = new InitialContext();
           Repository  repository =

Andrea -

Jukka Zitting wrote:
> Hi,
> On 10/1/07, Khanapurkar, Mona A. <Mona.A.Khanapurkar@idearc.com> 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

View this message in context: http://www.nabble.com/TransientRepository-Vs.-BindableRepository-tf4546197.html#a12976287
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message