I've updated the demo page:
http://confluence.concord.org/display/CSP/Run+Local+Jackrabbit+Demo

It is still too hard for most people to run this demo, you need to be 
really motivated.  But I wanted to document my progress. 

I also wanted to report on a few things I've found out about the 
different ways to access the jackrabbit repository remotely.   I would 
assume that jcrom will use these same ways.  So if the authoring tool is 
going to be directly accessing the repository then you will need to use 
one of these ways.

This page is a good place to start:
http://jackrabbit.apache.org/jackrabbit-spi.html

Basically I've experimented with:
jcr -> in-process-repository 
jcr -> jcr-rmi -> jcr-server
jcr -> jcr-spi -> spi2dav -> jcr-server
jcr -> jcr-spi -> spi-jcr -> jcr-rmi -> jcr-server

In the OTrunk-jackrabbit use case none of these will completely work, 
you can see this page which talks about why that is: 
http://confluence.concord.org/display/CSP/OTrunk+Jackrabbit+Evaluation

However I've been working on a demo that will show some form of near 
real time persistence.  And for that demo the last stack seems the 
best.    Here are details:

jcr -> in-process-repository 
  Good for testing.  It is also the one used by most people and seems to 
be the most stable.  But it isn't remote.

jcr -> jcr-rmi -> jcr-server
   this is too slow, because even transient object changes get sent over 
rmi.

jcr -> jcr-spi -> spi2dav -> jcr-server
   this has good speed because spi provides local storage for transient 
objects, but the spi2dav library has bugs.  This was my first choice 
because I though webdav would be the safest for going through 
firewalls.  However I've since learned that rmi can go over http.

jcr -> jcr-spi -> spi-jcr -> jcr-rmi -> jcr-server
   this uses spi for local storage of transient objects, so it is fast.  
And the spi-jcr and jcr-rmi libraries appear to work pretty well.    I 
haven't tested on a real remote server only localhost, so I don't know 
how well it will handle slower connections or going over http.

Scott

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to