apache chemistry in action
DESCRIPTION
This presentation shows how the CMIS specification and Apache Chemistry can be used to create content-centric applications that work with any CMIS-compliant repository.TRANSCRIPT
![Page 1: Apache Chemistry in Action](https://reader035.vdocuments.net/reader035/viewer/2022062614/546960d2af795946718b4a79/html5/thumbnails/1.jpg)
Apache Chemistry in Action: Using CMIS and your favorite language to unlock content from ECM repositories
Jeff Potts
![Page 3: Apache Chemistry in Action](https://reader035.vdocuments.net/reader035/viewer/2022062614/546960d2af795946718b4a79/html5/thumbnails/3.jpg)
Managing & collaborating on files is a painJeff Potts
Where is the latest version?Who changed it last? What did they
change?Which project is this related to?Who should be allowed to see this file?
To make changes?How long do we have to keep this file?Can I get this file in another format?I’m done with this file, what happens
next?
![Page 4: Apache Chemistry in Action](https://reader035.vdocuments.net/reader035/viewer/2022062614/546960d2af795946718b4a79/html5/thumbnails/4.jpg)
So we write apps that help deal with contentJeff Potts [email protected]
archives.nyphil.org
my.alfresco.com
Alfresco iOS Client
![Page 5: Apache Chemistry in Action](https://reader035.vdocuments.net/reader035/viewer/2022062614/546960d2af795946718b4a79/html5/thumbnails/5.jpg)
But files are a strange beastJeff Potts
Don’t work well as BLOBs in an RDB– Can’t be indexed– Can’t be streamed– Subject to size limitations
File systems alone aren’t rich enoughNeither are Amazon S3 buckets
![Page 6: Apache Chemistry in Action](https://reader035.vdocuments.net/reader035/viewer/2022062614/546960d2af795946718b4a79/html5/thumbnails/6.jpg)
That’s where a content repository comes inJeff Potts [email protected]
RDB(Metadata
)
File System(Files)
File
Pro
toco
ls(W
eb
DA
V, FT
P, etc.)
API
MetadataContent
Stream
Repository
Content Object
![Page 7: Apache Chemistry in Action](https://reader035.vdocuments.net/reader035/viewer/2022062614/546960d2af795946718b4a79/html5/thumbnails/7.jpg)
The Problem: Until now, each repo had its own API
API API API
My Custom Application Third-Party Systems
Most organizations have multiple repositories!
One-off integration
One-off integration
One-off integration
Jeff Potts
![Page 8: Apache Chemistry in Action](https://reader035.vdocuments.net/reader035/viewer/2022062614/546960d2af795946718b4a79/html5/thumbnails/8.jpg)
An industry-wide specification is born: CMISJeff Potts
Managed by OASISBroad vendor support and
adoption1.0 out now, 1.1 coming
soonhttp://bit.ly/PnAb77
![Page 9: Apache Chemistry in Action](https://reader035.vdocuments.net/reader035/viewer/2022062614/546960d2af795946718b4a79/html5/thumbnails/9.jpg)
CMIS specification describes a repo and what’s in itJeff Potts
Domain Model: Repository, Folder, Document, ACL, Relationship, Object Type, Secondary Type*, Item*
Binding: Web Services, AtomPub, Browser (JSON)*
Query Language: Subset of SQL-92
*New in CMIS 1.1
![Page 10: Apache Chemistry in Action](https://reader035.vdocuments.net/reader035/viewer/2022062614/546960d2af795946718b4a79/html5/thumbnails/10.jpg)
Apache Chemistry is the CMIS reference implementationJeff Potts
Client libraries, server frameworks, development tools
http://bit.ly/ex20BT
![Page 11: Apache Chemistry in Action](https://reader035.vdocuments.net/reader035/viewer/2022062614/546960d2af795946718b4a79/html5/thumbnails/11.jpg)
Getting started with CMISJeff Potts
Grab a CMIS client from Apache Chemistry
Find a CMIS-compliant repositoryYou need its “service URL”Connect to it with the OpenCMIS
Workbench
![Page 13: Apache Chemistry in Action](https://reader035.vdocuments.net/reader035/viewer/2022062614/546960d2af795946718b4a79/html5/thumbnails/13.jpg)
Let’s see another! Java & OpenCMIS, Servlets & JSPs
Jeff Potts
The Blend– An example music
mash-up site– Java Servlets & JSPs– Show it running
against multiple CMIS repositories
– Full source available from Manning
![Page 14: Apache Chemistry in Action](https://reader035.vdocuments.net/reader035/viewer/2022062614/546960d2af795946718b4a79/html5/thumbnails/14.jpg)
The beauty of CMISJeff Potts [email protected]
My Custom Application Third-Party Systems
CMIS API
Standard integration
Standard integration
![Page 15: Apache Chemistry in Action](https://reader035.vdocuments.net/reader035/viewer/2022062614/546960d2af795946718b4a79/html5/thumbnails/15.jpg)
Coming in CMIS 1.1Jeff Potts
Browser (JSON) BindingType mutabilitySecondary types (aka “Aspects”)Item