问题描述
在Apache JackRabbit网站上进行第一跳"之后,我应该去哪里?我不明白如何创建不在内存中的存储库以及如何配置它等.
Where do I go after doing the "First hops" in the Apache JackRabbit website? I don't understand how to create a repository that is not in memory and how to configure it and so on.
推荐答案
您还可以查看银豌豆代码.它使用Jackrabbit和一些简单的代码来创建节点,浏览节点等.例如,查看 https://github.com/Silverpeas/Silverpeas-Core/blob/master/lib-core/src/main/java/org/silverpeas/attachment/repository/DocumentRepository.java 测试是在内存存储库中使用的,但最后的东西是在使用真实的"存储库.
You could look also at Silverpeas code.It's using Jackrabbit with some simple code to create nodes, browse them etc. For example take a look into https://github.com/Silverpeas/Silverpeas-Core/blob/master/lib-core/src/main/java/org/silverpeas/attachment/repository/DocumentRepository.javaThe tests are using in memory repository but the final stuff is using a 'real' repository.
您还可以查看 JBoss Modeshape ,它是JCR API的另一种实现.一些文档是交叉实施的.还有崩溃,它使您可以将Shell添加到正在运行的存储库中.
Also you might take a look at JBoss Modeshape which is another implementation of the JCR API. Some of the docs are cross implementation.There is also Crash which enables you to add a shell to your running repository.
这篇关于如何使用内容存储库和Apache JackRabbit学习?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!