Hi,

i try to store my repository objects in JNDI. That don't work with the
TransientRepository because it doesn't implement the referencable interface.
I decided to use the BindingRepository.

Repository repository = new TransientRepository (jackrabbitConfigFile,
homeDir);
...
jndiContext.bind("jcr/local", repository);

That won't work :). First questions, is it the right way to use the
BindingRepository and is there an example for creating a BindingRepository?

Regards,
Sascha

Reply via email to