Apache Jackrabbit : JcrCommons

Jackrabbit JCR Commons

Overview

Jackrabbit JCR Commons is a collection of general purpose classes for use with the JCR API. The project does not depend on a specific JCR implementation, however it is best tested with Jackrabbit.

Javadoc

JcrUtils

Utility methods to open a repository, get and add nodes and properties, run a query, and create a string representation from a node.

Jackrabbit JCR Commons API Javadocs

The package Javadocs

Download

This project is included in Jackrabbit standalone.

Maven

The Maven dependency is (replace the version number with the version of your choice):

<dependency>
    <groupId>org.apache.jackrabbit</groupId>
    <artifactId>jackrabbit-jcr-commons</artifactId>
    <version>2.3</version>
</dependency>