Hi
I'm looking for a clean way to connect to a remote Jackrabbit repository
with the JCR 2.0 API. There are to examples in the specification using
an implementation of RepositoryFactory and the using the
getRepository(Map<String, String>) method.
However, the specification states that the parameters are
vendor-specific, and I didn't find the values I need to use to connect
to a remote Jackrabbit repository (I run Jetty + jackrabbit-webapp on
localhost:8080).
Can anyone point to a documentation on this one or post the parameter
keys/values to use for connecting to an existing Jackrabbit repository ?
Currently I use the jackrabbit-jcr-rmi module in version 1.5 to do
Repository repository =
URLRemoteRepository("http://localhost:8080/jackrabbit/rmi");
I've also tried doing
Repository repository =
JcrUtils.getRepository("http://localhost:8080/jackrabbit/server");
with different values for the connection URI, but none of the worked.
I'm looking for a more clean way to establish the connection, preferably
without using Jackrabbit implementation class in such a direct way.
Greetings
Bastian
--
Linkwerk - Software und Beratung für vernetzte Information
Telefon: +49 40 69 66 48 14
Web: www.linkwerk.com
Linkwerk GmbH, Oberaltenallee 20a, 22081 Hamburg,
Handelsregister Hamburg, HRB 95084
Geschäftsführer: Stefan Mintert