Search code examples
javaalfrescoopencmscmis

Creating Java Client for CMIS-based server


I am still new in CMIS subject , and I am still searching learn about that, What I want to do is to create a Java client that upload report to any content management that support "The CMIS v1.0 OASIS Standard Specification". such as Alfresco , Documentum or Microsoft SharePoint Server I found that opencMIS for Java is a good choice ..

But I am still a bit confused about what is required to write such application the communicate with these CMSs ans repositories .

  1. Do I need to handle each one alone , or to create it once and it will deal with any CMSs that support this standards ?
  2. How the CMIS client will connect to the CMIS-based server. Do we will have authentication data and a communcation endpoint(URL)?
  3. Please if possible-briefly- what are the steps required to do to make a CMIS client using OpenCMIS, does it a hard work for who don't have any previous experience in this topic on has a knowledge about xml, http ..etc?

Thanks in advance


Solution

  • OpenCMIS is really there to let you abstract from the low level protocol details such as XML payloads and the like. On the other hand, it's highly advisable to get a grasp of the protocol itself, just to know what's possible and what not, when designing your application.

    Also, the idea behind CMIS is that the same library can access all the compliant CMSs without any code change. What happens in reality is that vendors might have specific extensions that might not be fully portable, and your application might need reworking to support a new CMS (Alfresco aspects are a good example).

    The page linked by @Romain Hippeau is providing a number of examples of the OpenCMIS client API usage.