It's not a secret anymore!
The moose likes Other Open Source Projects and the fly likes Apache Chemistry: Utility functions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Apache Chemistry: Utility functions" Watch "Apache Chemistry: Utility functions" New topic

Apache Chemistry: Utility functions

Nikes Shah
Ranch Hand

Joined: Jul 18, 2007
Posts: 133

What I understand about Apache Chemistry is, for developers, it provides easy and common interface to write code.
With property configuration, implementation makes calls to either WebService or REST interface.

Are there any other extra features provided by the Apache Chemistry project?

Example: How to fetch path of the document returned in Search results?

Looking at Specification, Document object doesn't have path property. So a possible way i can think of is, get the parent of the document i.e. of course a folder, and then get the path of that folder from its property and concatenate folder path with document name. It looks a costly operation in case if we get very large resultset.

Florian Mueller

Joined: Sep 24, 2012
Posts: 6
Hi Nikesh,

Working with paths can be relatively expensive. If you can use objects ids, you should avoid paths.

The Apache Chemistry OpenCMIS interface provides a lot of convenience and utility functions on top of CMIS. For examples, there is a highly optimized operation that fetches the paths of a document. There is also a caching infrastructure, which might help you avoiding such calls altogether. You can also tune the way queries are performed. And there are helper functions to build CMIS query statements. And much more. We cover all that in the book.


I agree. Here's the link:
subject: Apache Chemistry: Utility functions
It's not a secret anymore!