O'Reilly logo

GateIn Cookbook by Piergiorgio Lucidi, Luca Stancapiano, Ken Finnigan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a portlet to integrate Apache JackRabbit

In this recipe, you will learn how to create two connections (local and remote) to JackRabbit by implementing two portlets.

Note

Apache Jackrabbit is an implementation of the JSR-283, JCR 2.0 Specification provided by the Apache Software Foundation.

More information about this project can be found here: http://jackrabbit.apache.org.

Getting ready

To follow this recipe, you will need:

  • Maven 3.x
  • A GateIn 3.2.0 installation (JBoss or Tomcat)
  • JackRabbit 2.4.1

As for ModeShape, JackRabbit will be installed automatically through Maven. Prepare to create two portlets that make a local connection and a remote connection to JackRabbit for getting nodes.

How to do it...

As ModeShape and JackRabbit are very flexible ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required