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] Trivial Update of "HowtoSpi2Rmi" by ScottCytacki
Date Thu, 03 Jul 2008 15:04:47 GMT
Dear Wiki user,

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

The following page has been changed by ScottCytacki:
http://wiki.apache.org/jackrabbit/HowtoSpi2Rmi

------------------------------------------------------------------------------
  
  minimal intro as follows:
  
- - jcr2spi-Repository takes a RepositoryConfig
+  * jcr2spi-Repository takes a `RepositoryConfig`
- - the most important part of the configuration is the RepositoryService
+  * the most important part of the configuration is the `RepositoryService`
- - RepositoryService is the main interface defined by the SPI.
+  * `RepositoryService` is the main interface defined by the SPI.
  
- running the setup you mention, you need to create a RepositoryConfig
+ running the setup you mention, you need to create a `RepositoryConfig`
- that returns the ClientRepositoryService of spi-rmi which itself
+ that returns the `ClientRepositoryService` of spi-rmi which itself
- was created with a remote RepositoryService wrapping whatever
+ was created with a remote `RepositoryService` wrapping whatever
  spi implementation.
  
  
@@ -48, +48 @@

  https://svn.apache.org/repos/asf/jackrabbit/sandbox/spi/client
  (even though the folder name is "client" the maven artifactId is jackrabbit-test-client
  
- This project has a class org.apache.jackrabbit.jcr2spi.SPIServer which starts up the SPI
RMI Server
+ This project has a class `org.apache.jackrabbit.jcr2spi.SPIServer` which starts up the SPI
RMI Server
  
  === Use patch on jackrabbit-webapp ===
  
  Another option is to try using this patch: attachment:jackrabbit-webapp-SPIServer-1.patch

- It should be applied to the jackrabbit-webapp project.  It adds a SPIServerStartServlet,
which adds the
+ It should be applied to the jackrabbit-webapp project.  It adds a `SPIServerStartServlet`,
which adds the
- SPIServer to the webapps RMI lookup service.  It should wrap the existing repository started
up by the webapp
+ `ServerRepositoryService` to the webapps RMI registry.  It should wrap the existing repository
started up by the webapp
  normally.  You have to add a reference to your WEB-INF/web.xml:
  {{{
      <servlet>
@@ -71, +71 @@

  tweak it.  
  
  I haven't submitted an issue with this patch because jackrabbit-webapp should be not be
depending on the jars that
- SPIServer requires.  One way to get around this is to make another project inside of sandbox/spi
that depends 
+ SPI Server requires.  One way to get around this is to make another project inside of sandbox/spi
that depends 
  on jackrabbit-webapp and creates this servlet.  Then people can copy it and its deps into
the webapp.
  
  == Setup a spi rmi client ==
  
- This code was duplicated from org.apache.jackrabbit.jcr2spi.JCR2SPIOverRMIRepositoryStub
which is located
+ This code was duplicated from `org.apache.jackrabbit.jcr2spi.JCR2SPIOverRMIRepositoryStub`
which is located
  in https://svn.apache.org/repos/asf/jackrabbit/sandbox/spi/client (jackrabbit-test-client)
- That code uses a AbstractRepositoryConfig instead which is defined in jackrabbit-test-client.
 This code
+ That code uses a `AbstractRepositoryConfig` instead which is defined in jackrabbit-test-client.
 This code
- fully implements RepositoryConfig so it doesn't need to depend on jackrabbit-test-client.
+ fully implements `RepositoryConfig` so it doesn't need to depend on jackrabbit-test-client.
  
  
  {{{

Mime
View raw message