cancel
Showing results for 
Search instead for 
Did you mean: 

JCR connector for use within Alfresco

ghernando
Champ in-the-making
Champ in-the-making
I'm interested in adopting Alfresco as the platform for some upcoming projects that would also use content from an existing repository.
The current repository has no need to consume other JSR repository information.
I'm thinking that some of the existing JCR implementation within Alfresco could be used as a template for creating a connector to a new repository.  Or is there a better place to look for some existing code to start off with?
Or is starting from scratch the best approach?

George
2 REPLIES 2

davidc
Star Contributor
Star Contributor
Am I correct in understanding you wish to build an app that both connects to a new Alfresco repository and an existing non-Alfresco repository?

The route to take probably depends on what you need to achieve with your existing repo e.g. just retrieve meta-data/content or do you require search, version history retrieval etc.  One option is to develop alternative implementations of the Alfresco NodeService and ContentService which talk to your existing repository. They can be plugged into our infrastructure to allow your application to retrieve from both Repository's via a common interface.

An alternative is to build a complete JCR adaptor, but this would be a lot of work.

ghernando
Champ in-the-making
Champ in-the-making
Yes.  That's what we'd like to do.
    Alfresco repo + existing non-Alfresco repo

Minimum it would be nice to be able to have search/retrieve capability of the older content.

The NodeService/ContentService route sounds interesting.
Would doing that be limited to search/retrieve, or could it also be extended to creation of new content and update of metadata?

These are the files in:
  …/projects/repository/source/java/org/alfresco/service/cmr/repository ?

Is there a single implementation in Alfresco now for the ContentService/NodeService, or are there examples of other implementations?

Thanks

George