I have an existing Java Web application which uses alfresco as its content repository. Now I want my application to have a content repository interface to interact not only with alfresco but also with any JCR compliant repositories(Even to a local file system). According to my application architecture we can Inject JCR Implementation of any content repositories. I googled a lot and couldnt find any useful step by step walk guide to implement JCR Interface and Injecting an implementation. Please provide some links or something with which i can establish this easily. Atleast I want to use JCR alfresco Implementation.
0
votes
2 Answers
0
votes
Well with JCR 2.0 the RepositoryFactory should be able to provide you with the repository you want. After that it is just how to pass the configuration in your code to create and access the repository. You can look into Silverpeas code or Crash's code to see that.