jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "RemoteAccess" by ThomasMueller
Date Wed, 06 Jan 2010 09:49:18 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The "RemoteAccess" page has been changed by ThomasMueller.
http://wiki.apache.org/jackrabbit/RemoteAccess?action=diff&rev1=2&rev2=3

--------------------------------------------------

  
  == DavEx ==
  
- For Jackrabbit 2 and assuming the server is running at localhost port 8080:
+ Jackrabbit 2 supports the Dav``Ex protocol. 
+ 
+ On the server side, you need to start the Jackrabbit Web``DAV server, which is included
in the 
+ [[http://jackrabbit.apache.org/standalone-server.html|Standalone Server]].
+ 
+ On the client side, you need the following libraries:
+ 
+  * jackrabbit-jcr-commons (for Jcr``Utils.getRepository)
+  * jackrabbit-jcr2spi
+  * jackrabbit-spi2dav (Spi2davex``Repository``Service``Factory needs to be on the classpath)
+ 
+ Assuming the server is running at localhost port 8080, connect to the server using:
  
  {{{
  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 Spi2davex``Repository``Service``Factory needs to be on the classpath
(see jackrabbit-spi2dav).
  
  See also org.apache.jackrabbit.commons.Jcr``Utils#get``Repository(String), org.apache.jackrabbit.commons.Jcr``Utils#get``Repository(java.util.Map)
and 
  org.apache.jackrabbit.spi2davex.Spi2davex``Repository``Service``Factory 

Mime
View raw message