jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: TransientRepository Vs. BindableRepository
Date Mon, 01 Oct 2007 06:43:52 GMT

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.


Jukka Zitting

View raw message