SeamFramework.orgCommunity Documentation

Chapter 68. Seam JCR - JackRabbit Integration

68.1. JackRabbit Integration Installation
68.2. Usage

In order to activate JackRabbit support within your application, you need to include JackRabbit on your classpath. At a minimum, the following maven dependency must be satisfied.


In order to use JackRabbit's Repository and Session objects in your application, you must define an injection point using the JcrConfiguration annotation based on JackRabbit's required configuration parameters.

    @Inject @JcrConfiguration(name="org.apache.jackrabbit.repository.home",value="target")
    Repository repository;

    @Inject @JcrConfiguration(name="org.apache.jackrabbit.repository.home",value="target")
    Session session;