Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 73401 invoked from network); 3 Jul 2008 12:00:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2008 12:00:00 -0000 Received: (qmail 6490 invoked by uid 500); 3 Jul 2008 12:00:00 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 6468 invoked by uid 500); 3 Jul 2008 12:00:00 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 6457 invoked by uid 99); 3 Jul 2008 12:00:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 05:00:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of anchela@day.com designates 62.192.10.254 as permitted sender) Received: from [62.192.10.254] (HELO goobak01.day.com) (62.192.10.254) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 11:59:08 +0000 Received: by goobak01.day.com (Postfix, from userid 1212) id 9EB4850884; Thu, 3 Jul 2008 13:59:10 +0200 (CEST) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.189]) by goobak01.day.com (Postfix) with ESMTP id E24C150838 for ; Thu, 3 Jul 2008 13:59:09 +0200 (CEST) Received: by fk-out-0910.google.com with SMTP id e30so919764fke.9 for ; Thu, 03 Jul 2008 04:59:09 -0700 (PDT) Received: by 10.82.186.19 with SMTP id j19mr373932buf.60.1215086349290; Thu, 03 Jul 2008 04:59:09 -0700 (PDT) Received: from ?10.0.0.60? ( [62.192.10.254]) by mx.google.com with ESMTPS id 6sm141223nfv.21.2008.07.03.04.58.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Jul 2008 04:59:07 -0700 (PDT) Message-ID: <486CBF58.6050600@day.com> Date: Thu, 03 Jul 2008 14:00:24 +0200 From: Angela Schreiber User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: jcr2spi<->spi-rmi<->spi2jcr<->jackrabbit-core config? References: <14887138.128231215036847196.JavaMail.root@zimbra.unicon.net> In-Reply-To: <14887138.128231215036847196.JavaMail.root@zimbra.unicon.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hi lennard the spi-rmi is currently still in the sandbox, since we didn't spent time on optimization yet. if you are looking for an example setup, you may start with the 'getRepository()' method defined with http://svn.apache.org/repos/asf/jackrabbit/sandbox/spi/client/src/test/java/org/apache/jackrabbit/jcr2spi/JCR2SPI2JCROverRMIRepositoryStub.java the jcr2spi code can be found at http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-jcr2spi the rmi-spi code http://svn.apache.org/repos/asf/jackrabbit/sandbox/spi/spi-rmi the spi2jcr code http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-spi2jcr minimal intro as follows: - jcr2spi-Repository takes a RepositoryConfig - the most important part of the configuration is the RepositoryService - RepositoryService is the main interface defined by the SPI. running the setup you mention, you need to create a RepositoryConfig that returns the ClientRepositoryService of spi-rmi which itself was created with a remote RepositoryService wrapping whatever spi implementation. hope that helps angela Lennard Fuller wrote: > I happened across Jukka Zitting's web page in which he announced some of the new features in Jackrabbit 1.4. In particular, this paragraph was of interest. > > "Service provider interface for JCR. The jackrabbit-spi component defines an architectural layer below the JCR API. The SPI layer is designed specifically for remote access and outlines a way for us to avoid the performance limitations of JCR-RMI that works on top of JCR." > > This is because I have JCR client applications which are currently accessing the JCR via JCR-RMI. With a significant amount of client side caching the performance is acceptable for our current usage... but only just. The prospect of accessing the JCR external to that JCR's JVM in a reasonably performant fashion is very exciting. > > Looking at the mailing list I can see references to a method of getting remote access to a JCR using SPI and RMI. > > Marcel mentioned the following alternative: > jcr2spi<->spi-rmi<->spi2jcr<->jackrabbit-core > > Thus far I have been unable to find any How to, Readme or wiki page which covers this particular configuration. Can someone point me in the right direction? Is there another configuration I should consider first? > > Lennard Fuller > Software Architect > Unicon Inc. >