使用来自 java 应用程序的露天内容管理
Use alfresco Content Management from java application
我正在开发 Java EE 应用程序,我需要将内容存储到露天存储库中。
为此,我找到了 2 种方法:
- 使用 Java API Web 服务。
- 使用露天 CMIS。
我不明白这两种方法的区别。
谁能告诉我这些有什么区别?
好吧,首先你应该看看这个 Overview of Alfresco APIs 从中你会发现与 Alfresco 存储库交互的方法比你提到的两种要多得多。
通常这两种方法的作用相同,因为它们都使用 SOAP 绑定。
话虽如此,如Alfresco CMIS API所述:
CMIS (Content Management Interoperability Services) is a vendor-neutral OASIS Web services interface specification that enables interoperability between Enterprise Content Management (ECM) systems. CMIS allows rich information to be shared across Internet protocols in vendor-neutral formats, among document systems, publishers and repositories, in a single enterprise and between companies.
You can use basic HTTP methods to invoke CMIS methods, or you can use
one of the many language-specific libraries that wrap CMIS. One such
example for the Java language is the OpenCMIS Client API provided by
the Apache Chemistry project. Apache Chemistry provides client
libraries for many other languages such as Python, PHP, and .NET.
根据 Java API Web Services 已被 CMIS SOAP 绑定取代:
Please note that this API has been superceded by CMIS (specifically,
the CMIS SOAP binding). It's use is no longer recommended. This
functionality was removed from Alfresco in 5.0.b. "Please also note
that the endpoint for soap web services was moved for alfresco 4.2.d.
To make way for the public api." now instead of being
http://localhost:8080/alfresco/api the soap services resides at
http://localhost:8080/alfresco/soapapi This API was removed in
Alfresco 5.0 and is no longer available. Use the CMIS web services
bindings instead.
因此,如果您需要使用 Web 服务将内容添加到 Alfresco 存储库,请使用最新的 Alfresco CMIS API。
我正在开发 Java EE 应用程序,我需要将内容存储到露天存储库中。
为此,我找到了 2 种方法:
- 使用 Java API Web 服务。
- 使用露天 CMIS。
我不明白这两种方法的区别。
谁能告诉我这些有什么区别?
好吧,首先你应该看看这个 Overview of Alfresco APIs 从中你会发现与 Alfresco 存储库交互的方法比你提到的两种要多得多。
通常这两种方法的作用相同,因为它们都使用 SOAP 绑定。
话虽如此,如Alfresco CMIS API所述:
CMIS (Content Management Interoperability Services) is a vendor-neutral OASIS Web services interface specification that enables interoperability between Enterprise Content Management (ECM) systems. CMIS allows rich information to be shared across Internet protocols in vendor-neutral formats, among document systems, publishers and repositories, in a single enterprise and between companies.
You can use basic HTTP methods to invoke CMIS methods, or you can use one of the many language-specific libraries that wrap CMIS. One such example for the Java language is the OpenCMIS Client API provided by the Apache Chemistry project. Apache Chemistry provides client libraries for many other languages such as Python, PHP, and .NET.
根据 Java API Web Services 已被 CMIS SOAP 绑定取代:
Please note that this API has been superceded by CMIS (specifically, the CMIS SOAP binding). It's use is no longer recommended. This functionality was removed from Alfresco in 5.0.b. "Please also note that the endpoint for soap web services was moved for alfresco 4.2.d. To make way for the public api." now instead of being http://localhost:8080/alfresco/api the soap services resides at http://localhost:8080/alfresco/soapapi This API was removed in Alfresco 5.0 and is no longer available. Use the CMIS web services bindings instead.
因此,如果您需要使用 Web 服务将内容添加到 Alfresco 存储库,请使用最新的 Alfresco CMIS API。