Chapter 5. Accessing a CMIS Server with a Java Client
Up until now, we have accessed the CMIS server via the low-level AtomPub protocol binding and the Browser protocol binding. This has required a lot of coding, which could be error prone. However, it is always good to know how low-level APIs work before going on to higher-level abstraction APIs. In this chapter, we will look at how the Apache Chemistry project (http://chemistry.apache.org/) offers a high-level API for CMIS.
In this chapter, we will see how we can perform the following tasks from a CMIS Java client:
Authenticating and connecting to the server
Fetching repository information including the repository ID and top folder URL
Listing the content of a folder
Listing the content types that are available
Creating, updating, and deleting folders and files
Downloading the content
Content versioning
Managing permissions
Relationship management
Searching
Apache Chemistry contains a number of libraries that abstract the CMIS low-level protocol...