Skip to content

sgougi/play21-jackrabbit-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is Jackrabbit Plugin ?

Jackrabbit plugin is a module that seamlessly integrates the Apache Jackrabbit with the Play! framework 2.

Requirements

Dependencies

Setup

  1. Installing Play framework 2.2.1

  2. Executing the command for installing the Jackrabbit Plugin

    % git clone [email protected]:sgougi/play21-jackrabbit-plugin.git

  3. Publishing the Jackrabbit Plugin to your local repository

    % cd play21-jackrabbit-plugin % play publish-local

Running sample applications and Usage

At a command prompt, type the following commands:

     % cd play21-jackrabbit-plugin
     % cd samples
     % cd jackrabbit-simple-ocm-app
        ( or % cd jackrabbit-simple-jcrom-app ) 
     % play run

There are basic usage in the source code of a sample application.

Facade Class for JCR

The com.wingnest.play2.jackrabbit.Jcr class is a Facade class for the JCR.

  • Repository Jcr.getRepository()
  • Session Jcr.login()
  • Session Jcr.getCurrentSession
  • void Jcr.setCurrentSession()

Facade Class for OCM

The com.wingnest.play2.jackrabbit.OCM class is a Facade class for the OCM.

  • ObjectContentManager OCM.getOCM(...)

Facade Class for JCROM

The com.wingnest.play2.jackrabbit.JCROM class is a Facade class for the JCROM.

  • Jcrom JCROM.createJcrom()

Known Issues

  • Nothing

Licence

Jackrabbit Plugin is distributed under the Apache 2 licence.

About

Apache Jackrabbit Plugin for play! framework 2

Resources

Stars

Watchers

Forks

Packages

No packages published