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 10:09:49 GMT
Hi,

On 10/1/07, Andrea K. <akregar@alteanet.it> wrote:
> is it (also) right to do that using Repository rather than
> BindableRepository?
>
> Like this:
>
>            InitialContext context = new InitialContext();
>            ...
>            Repository  repository =
> (Repository)context.lookup("jcr/repository");


Correct. In your client code you should try to use the JCR API
interfaces instead of classes from Jackrabbit..

BR,

Jukka Zitting

Mime
View raw message