本文介绍了ModeShape提供的JackRabbit不提供什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我刚刚熟悉了Apache JackRabbit。我已经为文档管理做了一个多用户存储库。 如果有人使用这两个库,你能回答这些问题吗? ModeShape是否与JBoss链接?我没有太多的JBoss AS或任何其他JBoss工具的经验。我看到支持tomcat,但是有很多JBossy的东西。 文档说,未来的发布应该有UI集成,是远未来?什么样的UI集成呢?有什么东西使用ModeShape,因为它是与使用JackRabbit的Hippo CMS的情况? JackRabbit在全文搜索,索引和文本内容的整体处理方面与ModeShape比较如何? CMIS支持如何?我看到一个未解决的问题, MODE-650 。 关于support / utils库,为了开发人员方便使用节点时,支持OpenRIS 我对任何其他比较评论感兴趣,谢谢解决方案我可以回答你的一些问题。全面披露:我是ModeShape的创始人和项目负责人。 简要地说, ModeShape 是一种轻量级的,可嵌入的,可扩展的开源JCR存储库实现,用于联合和统一来自多个系统(包括文件系统,数据库,数据网格,其他存储库等)的内容。可以使用JCR API访问已有的信息,使用它像一个传统的JCR系统。 以下是一些高级功能的ModeShape: 支持所有JCR 2.0所需的功能:存储库获取;认证;阅读/导航;查询出口;节点类型发现;权限和能力检查 支持大多数JCR 2.0可选功能:写作;进口;观察;工作区管理;版本控制锁定;节点类型管理;同名兄弟姐妹;可排序子节点;可共享节点;和 mix:etag , mix:created 和 mix:lastModified 支持JCR 1.0和JCR 2.0语言(例如XPath,JCR-SQL,JCR-SQL2和JCR-QOM)以及全文搜索语言基于JCR-SQL2全文搜索表达式语法。此外,ModeShape支持对JCR-SQL2的一些非常有用的扩展: 子查询的条件 设置操作(例如 UNION , INTERSECT , EXCEPT ALL 子句) 限制和偏移 code> SELECT DISTINCT ) 额外的深度,参考和路径条件 例如 IN , NOT IN 和 BETWEEN ) 算术标准(例如 SCORE(t1)+ SCORE(t2)) 全外连接和交叉连接 和更多 选择来自多个存储选项,包括RDBMS(通过 Hibernate ),数据网格(例如, Infinispan ),文件系统或根据需要编写自己的存储连接器。 使用JCR API访问现有服务,文件系统和存储库中的信息。 ModeShape连接器将外部信息投影到JCR存储库中,从而可能将来自多个系统的信息联合到单个工作空间中。 上传文件并让ModeShape自动解析并导出代表这些文件中的内容的结构化信息。此派生信息存储在存储库中,它可以像任何其他内容一样查询和访问。 ModeShape支持多种文件类型,包括:CND,XML,XSD,WSDL,DDL,CSV,ZIP / JAR / EAR / WAR,Java源代码,Java类文件,Microsoft Office,图像元数据和 Teiid 模型和VDB。 自动和可扩展的MIME类型检测,使用文件扩展名和基于内容的检测使用 Aperture 。 可扩展文本提取框架,提供对Microsoft Office,PDF的开箱即用支持,HTML,纯文本和XML文件(使用 Tika )。 使用JGroups进行简单聚类。 / li> 将ModeShape嵌入到您自己的应用程序中。 RESTful API(需要部署到应用服务器)。 这些只是一些亮点。有关这些和其他ModeShape功能的详细信息,请参阅ModeShape 文档。 现在,您对已编号的问题有一些具体答案: ModeShape托管在JBoss.org上,使用/与其他JBoss技术集成,因为我们认为更好地重用最好的库。但 ModeShape绝对不会绑定到JBoss应用服务器 。 ModeShape可以在其他应用程序服务器上以与其他JCR实现(通常嵌入到Web应用程序)相同的方式使用。此外, ModeShape可以嵌入任何应用程序 ;它毕竟只是一个普通的Java库。它甚至使用SLF4J,以便ModeShape日志消息可以发送到应用程序的日志框架。 现在,话虽如此,我们确实使使用简单的工具包将ModeShape部署到JBoss AS安装:简单地解压缩,自定义配置(取决于您的需要),并启动应用程序服务器。 ModeShape将作为应用服务器中的服务运行,允许您部署的应用程序只需查找,使用和共享存储库。 ModeShape甚至可以使用JBoss AS控制台进行监控。 我相信你是指我们开发一个存储库可视化工具 - CMS系统)。这项工作刚刚开始,我们欢迎任何洞察,功能的要求,并有兴趣与我们合作。我知道Magnolia可以运行在ModeShape之上,但不知道其他CMS应用程序是否能够做到这一点。 JBoss企业数据服务(EDS)平台还包括ModeShape,并将其用作元数据存储库。 JBoss业务规则管理系统也可以使用ModeShape作为其JCR存储库。 ModeShape和Jackrabbit在内部使用Lucene进行全文搜索和查询。在这方面,他们很相似。当然,ModeShape的搜索和查询解析和执行的实现不同于Jackrabbits,实际上是由一些相同的人实现的MetaMatrix关系导向的集成&联合引擎(现在是JBoss EDS的一部分)。因此,ModeShape为其每种查询语言都有一个单独的解析器,但是在所有查询的所有验证,规划,规划和执行都以同样的方式完成之后。我们非常自豪我们的查询引擎的功能和性能! ModeShape没有连接到其他CMIS系统,但正如你指出的目前正在进行( MODE-650 )。我们还想与Apache化学团队合作,以确保JCR适配器与ModeShape一起使用。 ModeShape确实有JcrTools 实用程序类,可能证明有用。但是在JCR API之上编写的任何实用程序类都应该正常工作。 希望有所帮助! > I just familiarized myself with Apache JackRabbit. I've done a little multi-user repository for document management.If anybody used both of them, could you please answer these questions ?Is ModeShape somehow linked to JBoss ? I don't have much experience with JBoss AS or any other JBoss tools. I see a support for tomcat, but a lot of JBossy stuffDocumentation says that future releases should have UI integration, is it far future ? What kind of UI integration would it be ? Is there something that uses ModeShape as it is in case of Hippo CMS with JackRabbit ? It's a shame that Gatein doesn't use it.How does JackRabbit compare to ModeShape in regard to fulltext search, indexing and the overall processing of text content ?How about CMIS support ? I see an unresolved issue MODE-650. Jackrabbit is supported by OpenCMIS (Apache chmistry), even for secondary types in near future.What about support/utils libraries, for developer convenience when working with NodesI'm interested in any other comparison comments, thank you 解决方案 I can answer some of your questions. Full disclosure: I'm the founder and project lead for ModeShape.Briefly, ModeShape is a lightweight, embeddable, extensible open source JCR repository implementation that federates and unifies content from multiple systems, including files systems, databases, data grids, other repositories, etc. You can use the JCR API to access the information you already have, or use it like a conventional JCR system.Here are some of the higher-level features of ModeShape:Supports all of the JCR 2.0 required features: repository acquisition; authentication; reading/navigating; query; export; node type discovery; permissions and capability checkingSupports most of the JCR 2.0 optional features: writing; import; observation; workspace management; versioning; locking; node type management; same-name siblings; orderable child nodes; shareable nodes; and mix:etag, mix:created and mix:lastModified mixins with autocreated properties.Supports the JCR 1.0 and JCR 2.0 languages (e.g., XPath, JCR-SQL, JCR-SQL2, and JCR-QOM) plus a full-text search language based upon the JCR-SQL2 full-text search expression grammar. Additionally, ModeShape supports some very useful extensions to JCR-SQL2:subqueries in criteriaset operations (e.g, "UNION", "INTERSECT", "EXCEPT", each with optional "ALL" clause)limits and offsetsduplicate removal (e.g., "SELECT DISTINCT")additional depth, reference and path criteriaset and range criteria (e.g., "IN", "NOT IN", and "BETWEEN")arithmetic criteria (e.g., "SCORE(t1) + SCORE(t2)")full outer join and cross joinsand moreChoose from multiple storage options, including RDBMSes (via Hibernate), data grids (e.g., Infinispan), file systems, or write your own storage connectors as needed.Use the JCR API to access information in existing services, file systems, and repositories. ModeShape connectors project the external information into a JCR repository, potentially federating the information from multiple systems into a single workspace. Write custom connectors to access other systems, too.Upload files and have ModeShape automatically parse and derive structured information representative of what's in those files. This derived information is stored in the repository, where it can be queried and accessed just like any other content. ModeShape supports a number of file types out-of-the-box , including: CND, XML, XSD, WSDL, DDL, CSV, ZIP/JAR/EAR/WAR, Java source, Java classfiles, Microsoft Office, image metadata, and Teiid models and VDBs. Writing sequencers for other file types is also very easy.Automated and extensible MIME type detection, with out-of-the-box detection using file extensions and content-based detection using Aperture.Extensible text extraction framework, with out-of-the-box support for Microsoft Office, PDF, HTML, plain text, and XML files using Tika.Simple clustering using JGroups.Embed ModeShape into your own application.RESTful API (requires deployment into an application server).These are just some of the highlights. For details on these and other ModeShape features, please see the ModeShape documentation.Now, here are some specific answers to your numbered questions:ModeShape is hosted at JBoss.org and uses/integrates with other JBoss technology, because we thought it better to reuse the best-of-breed libraries. But ModeShape definitely is not tied to the JBoss Application Server. ModeShape can be used on other application servers in much the same way as other JCR implementations (typically embedded into a web application). Plus, ModeShape can be embedded into any application; it is, after all, just a regular Java library. It even uses SLF4J so that ModeShape log messages can be sent to the application's logging framework.Now, having said that, we do make it easier to deploy ModeShape to a JBoss AS installation with a simple kit: simply unzip, customize the configuration a bit (depending upon your needs), and start your app server. ModeShape will run as a service within the app server, allowing your deployed apps to simply lookup, use and share repositories. ModeShape can even be monitored using the JBoss AS console.I believe you're referring to our plans to develop a repository visualization tool (much less than a fully-fledged CMS system). Work on that has just recently begun, and we'd welcome any insight, requests for functionality, and interest in collaborating with us. I know that Magnolia can be run on top of ModeShape, but not sure if other CMS apps are able to do this. The JBoss Enterprise Data Services (EDS) platform also includes ModeShape and uses it as a metadata repository. The JBoss Business Rules Management System can also use ModeShape as its JCR repository.ModeShape and Jackrabbit both internally use Lucene for full-text search and querying. In that regard, they're pretty similar. Of course, ModeShape's implementation of search and query parsing and execution is different than Jackrabbits, and was actually written by some of the same folks that implemented the MetaMatrix relationally-oriented integration & federation engine (now part of JBoss EDS). As a result, ModeShape has a separate parser for each of its query languages, but after that all validation, planning, planning, and execution of all queries is done in the same way. We're very proud of the capabilities and performance of our query engine!ModeShape does not have a connector to other CMIS systems, but as you point out that's currently in-work (MODE-650). We'd also like to work with the Apache Chemistry team to make sure the JCR adapter works with ModeShape. We've just not had the time to do so.ModeShape does have a JcrTools utility class that may prove useful. But any utility class written on top of the JCR API should work just fine.Hope that helps! 这篇关于ModeShape提供的JackRabbit不提供什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 06-26 03:30