Thanks :o)
I'll try to get this running.
Emmanuel

On Thu, Dec 24, 2009 at 10:23 AM, Michael Dürig <[email protected]> wrote:
>>
>> If webdav is the way to get for remote access, could you please give
>> us some documentation on how to configure the client and server for
>> this communication ?
>
> For Jackrabbit 2 and assuming the server is running at localhost port 8080:
>
> HashMap<String, String> params = new HashMap<String, String>();
> params.put(GenericRepositoryFactory.URI,"http://localhost:8080/jackrabbit/server";);
> Repository repository = JcrUtils.getRepository(params);
>
> For this to work the Spi2davexRepositoryServiceFactory needs to be on the
> classpath (see jackrabbit-spi2dav).
>
> See also org.apache.jackrabbit.commons.JcrUtils#getRepository(String),
> org.apache.jackrabbit.commons.JcrUtils#getRepository(java.util.Map) and
> org.apache.jackrabbit.spi2davex.Spi2davexRepositoryServiceFactory for
> applicable configuration parameters.
>
> Michael
>
>

Reply via email to