vietj/crash — pull request #24 by k2n (2012-05-24 23:15:24+00:00)
Title: Jackrabbit repository access via JNDI

Hi,

I'd like to share my changes to let crash access jackrabbit repository via JNDI resource rather than via RMI.
I'm developing an application that uses jackrabbit as a backend, and I'd like to access the repository via crash. According to jackrabbit document, the access via RMI is not performant and managing RMI adds the hustles such as punching port in a firewall, etc.
Instead, I want to deploy a jackrabbit repository as [a JNDI resource in app server](http://jackrabbit.apache.org/shared-j2ee-resource-howto.html), and share the same repository from my application and crash. By doing this, I can access the same repository without RMI.
I tested with my forked code and confirmed it is working fine in my environment. Somehow crsh.jcr.jackrabbit.war doesn't contain the basic commands so I locally tweaked packaging.xml but the change is not included in this pull request.

I was looking for jcr browsers but couldn't find a good one other than a commercial product, but crash is very powerful and I like the extensibility. Thank you for sharing the great project and I hope I can contribute more in the future.

Thanks,