Access to add and change pages is restricted. See: https://cwiki.apache.org/confluence/display/OFBIZ/Wiki+access

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Jackrabbit Branch Development

In this section I want to summarize the process of the content repository integration.

All development takes place in the jackrabbit branch.

Information about JCR and Jackrabbit

Motivation - Why we want to integrate Jackrabbit / a JCR Interface in OFBiz

  • When we have an external content Repository it's easy to connect third party tools to the repository (i.e. CMS Systems)
  • If we have a generic JCR implementation we can simply add different content repositories
  • Content Repositories allow easier maintenance of complex content structures, as contents are no longer stored in different tables (Content, Resource, ElectronicText ...).
  • Content Repositories can provide revisioning of contents and content modifications

What has been done

  • Created a new independent JCR module in the framework
  • Start the Jackrabbit Container on ofbiz startup
  • Created a Repository Factory
  • Created a Jackrabbit - Ofbiz architecture proposal:
  • (Implementation of the proposal is done and will be committed after review)  done @Rev: *1094250:
    • * You can create new repository nodes
      * Nodes are represented in a tree structure
      * Nodes can store Text (Text, HTML, FTL ....) and File content
      * There is a separate tree to store files and text content because the repository don't allow to mix them up, but this absolutely transparent for the user
      * Each new node is linked to a content entity
      * The link in the content entity can be used for maintainable reasons (permission checks, user specific content, content status etc.)
      * Everything can be tested under Examples --> Jackrabbit Sandbox
  • Jackrabbit Node Structure for (i18n) text content and files:

Still to be done

Ideas

  • Propagate and enforce OfBiz permissions, roles and users to JCR
  • Expose the JCR part via WebDAV (and/or some RESTish service)
  • JCR contents shall always be revisioned
  • Prevent duplication of properties between OfBiz and JCR
  • Explore Content Addressable Storage CAS options to prevent duplicate contents
  • Use this opportunity to create a simple workflow for OfBiz CMS Contents (or externalize to a CMS that provides a workflow)
  • No labels