Shared Drives with CMIS and JLAN

3,706 views
3,301 views

Published on

This session is intended to give a glimpse at how you can leverage CMIS to enable your applications or storage devices with shared drive capabilities. The Alfresco component key to this integration is JLAN. JLAN provides the capabilities of CIFS, NFS, and FTP by developing Disk Drivers. This session will show how to integrate CMIS using the OpenCMIS libraries and JLAN to enable this easy to use, and widely adopted feature.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,706
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
61
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Shared Drives with CMIS and JLAN

  1. 1. Shared Drives via CMIS and JLAN<br />0<br />Richard Im<br />Solutions Engineer, Alfresco<br />twitter: what’s twitter?<br />
  2. 2. Share Drives via CMIS and JLAN<br />1<br />Unique<br />Interesting<br />Extends or Integrates Alfresco<br />How did Richard get here?<br />
  3. 3. Shared Drives via CMIS and JLAN<br />2<br />CMIS Android App<br />DrupalDoclib<br />CMIS Powered Websites<br />
  4. 4. Repository focused Consumption<br />Shared Drives via CMIS and JLAN<br />3<br />
  5. 5. Shared Drives via CMIS and JLAN<br />4<br />A little hidden gem called: JLAN<br />http://www.alfresco.com/products/aifs/<br />Alfresco Repository CMIS integrations: dime a dozen<br />Extend Alfresco with CMIS<br />But, why would you want to do that Richard?<br />
  6. 6. 5<br />Do you find yourself using a Shared Drive?<br />Yes, of course. Everyday. I live in my Shared Drives.<br />
  7. 7. 6<br />Do your colleagues use a Shared Drive?<br />Yes, of course. Everyday. They live in their Shared Drives.<br />
  8. 8. 7<br />What about Alfresco CIFs?<br />
  9. 9. 8<br />Definitely. It’s great because it does so much more…<br />
  10. 10. 9<br />Sends email notifications<br />Converts it for: web, pdf, etc.<br />Starts Workflow<br />
  11. 11. 10<br />Have you asked yourself why?<br />
  12. 12. 11<br />Does all this without disrupting my daily habits.<br />
  13. 13. 12<br />Shared Drive is the easiest way to manage content…<br />
  14. 14. Share Drives via CMIS and JLAN<br />13<br />Alfresco Native CIFs disabled – no tricks<br />CMIS Interface between JLAN and Alfresco ECM<br />DEMO<br />
  15. 15. 14<br />What if you provide them the exact same functionality for…<br />
  16. 16. 15<br />
  17. 17. 16<br />
  18. 18. 17<br />Truth be told, you always could…<br />
  19. 19. 18<br /><ul><li>Good API for Client and Server
  20. 20. Server is key
  21. 21. JLAN Disk Driver via OpenCMIS Client API.</li></li></ul><li>JLAN Config<br />19<br /><diskshare name="cmis" comment="CMIS share"><br /> <driver><br /><class>org.alfresco.jlan.server.filesys.cmis.CmisDiskDriver</class><br /><CmisUrl>http://localhost:8080/alfresco/service/cmis</CmisUrl><br /><CmisUsername>admin</CmisUsername><br /><CmisPassword>admin</CmisPassword><br /><debug/><br /></driver><br /></diskshare><br />
  22. 22. JLAN Config<br />20<br />CmisDeviceContext extends DiskDeviceContext<br />Used to retain the static information about the share being used<br />Responsible for CMIS Session<br />
  23. 23. CmisDeviceContext<br />21<br />
  24. 24. CmisDeviceContext<br />22<br />
  25. 25. CmisDiskDriver<br />23<br />public class CmisDiskDriver implements DiskInterface<br />Called by the interactions from client protocol layer<br /> Meat of the operations<br />
  26. 26. CmisDiskDriver<br />24<br />
  27. 27. CmisDiskDriver<br />25<br />
  28. 28. Areas of Improvement <br />26<br />Refactor to use DB Device<br />Huge Benefits from built-in cache<br />JLAN Authenticator bridged with Open CMIS Authentication Provider<br />Context changes for Session Factory<br />Currently, same session used in singleton<br />
  29. 29. Wide Adoption<br />27<br />JLAN<br />27<br />
  30. 30. 28<br />Shape & Color Pallette<br />Normal Text<br />Normal Text<br />Normal Text<br />
  31. 31. 29<br />

×