JCR-RMI Extension Architecture

cancel
Showing results for 
Search instead for 
Did you mean: 

JCR-RMI Extension Architecture

resplin
Intermediate
0 0 2,507

{{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).