Help

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Active development of Seam JCR has been halted by Red Hat. Functionality has been absorbed by the Modeshape project.

JCR Module

Seam JCR is a portable extension for CDI to a JCR (Java Content Repository) 2.0 compliant implementation (JSR-283). For now, we are testing against both JBoss Modeshape and Apache Jackrabbit (reference implementation).


To get started, add the following dependencies to your pom.xml:

<dependency>
   <groupId>org.jboss.seam.jcr</groupId>
   <artifactId>seam-jcr-api</artifactId>
   <version>3.1.0.Final</version>
</dependency>

<dependency>
   <groupId>org.jboss.seam.jcr</groupId>
   <artifactId>seam-jcr</artifactId>
   <version>3.1.0.Final</version>
   <scope>runtime</scope>
</dependency>

Module team

Name Module role Commit username (Git) Organization Hometown (Time zone)
George Gastaldi Module co-lead gastaldi Independent Joinville, SC, Brazil (UTC-3)
John Ament Module co-lead johnament Mt. Laurel, NJ, USA (UTC-5)
Want your name to appear in this list? Join us in #seam-dev on freenode and let us know you want to get involved.

Description

Seam JCR is a portable extension for CDI to a JCR (Java Content Repository) 2.0 compliant implementation (JSR-283). For now, we are testing on JBoss Modeshape and Apache Jackrabbit (reference implementation).

Release plan

Road Map

Version Time frame Focus
3.0.0.Alpha1 March 16th, 2011 - Released
  1. Repository and Session Injection.
  2. Event Mapping support (JCR Events to CDI Events)
  3. Testing against Jackrabbit and ModeShape
3.0.0.Alpha2 July 22nd, 2011 - Released
  1. Support for passing a map with JCR configuration for Repository initialization
  2. Support for a different workspace
  3. Support for Credentials.
3.0.0.Beta1 August 2011
  1. Improved documentation, examples
  2. Object-Content Mapping
  3. Extension Managed JCR Sessions
  4. Seam Catch integration for RepositoryException

Design notes

This section serves as a whiteboard for design and ideas for this module. Once you've decided to pursue a feature, it should be added to JIRA as a feature request and linked from this page. It's up to you whether to keep the design notes or remove them once the JIRA issue has been created.

Design Whiteboard

This section serves as a whiteboard for design and ideas for this module. Once you've decided to pursue a feature, it should be added to JIRA as a feature request and optionally linked from this page.

JCR to CDI Event Bridging

Goal: Be able to map JCR events to CDI events.

Implemented:

If you use our proxied repository implementation, it will be automatically bound. Events are fired after the session is logged out and depending on the implementation in use the CDI events will occur in a background thread (ModeShape uses background threads). As a result, you cannot depend on a user session being active in the event firing.