jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruchi goel <Ruchi.G...@Sun.COM>
Subject use of BindableRepository and RepositoryImpl ?
Date Wed, 28 Feb 2007 07:12:11 GMT
Hi,


  Both org.apache.jackrabbit.core.jndi.BindableRepository  and  
org.apache.jackrabbit.core.RepositoryImpl implements javax.jcr.Repository
How do make a choice /


I am using   the following :

RegistryHelper.registerRepository(ctx, REPOSITORY_NAME, 
REPOSITORY_CONFIG, REPOSITORY_DIR, true);
Repository repository = (RepositoryImpl) ctx.lookup(REPOSITORY_NAME);

The repository which gets returned is BindableRepository.

Should I be using RepositoryImpl and its respective methods ? What is 
the difference ?

Thanks,
Ruchi



Mime
View raw message