SeamFramework.orgCommunity Documentation

Chapter 64. Seam JCR - JackRabbit Integration

64.1. JackRabbit Integration Installation
64.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;