JCR-RMI Extension Architecture

Document created by resplin Employee on Jun 6, 2015Last modified by alfresco-archivist on Aug 31, 2016
Version 3Show Document
  • View in full screen mode

{{Obsolete}}

This functionality was removed from Alfresco in 5.0.b.


Components


The JCR RMI extension is a simple project which aims to bring two larger endeavors together (Alfresco/Alfresco JCR and Apache Jackrabbit-RMI JCR wrapper)

thumb|left|400px
















































Highlevel RMI Interaction


This diagram should give you a high level understanding of how the remoting occurs.  This is basic RMI architecture, nothing tricky going on here.

What the extention is responsible for is the following:


  • Getting the reference to the Alfresco JCR interface (injected via IoC framework)
  • Wrapping the object via the Jackrabbit RMI JCR library
  • Binding/unbinding the remote object with the RMI infrastructure

thumb|left|400px

The remote client is responsible for its own lookup of the remote object from the RMI infrastructure.  The extention covers the last mile between Alfresco JCR on the server side. The client is responsible for the its first mile (Obtaining the remote reference).

Outcomes