Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Rapid RESTful Web Applications with Apache Sling and Jackrabbit

13,711 views

Published on

This is the presentation from JavaOne 2011 that Ruben Reusser and I worked on. The presentation was heavily demonstration based, so there are not as many slides.

Published in: Technology, Education
  • Follow the link, new dating source: ❤❤❤ http://bit.ly/2ZDZFYj ❤❤❤
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Dating for everyone is here: ❤❤❤ http://bit.ly/2ZDZFYj ❤❤❤
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Follow the link, new dating source: ♥♥♥ http://bit.ly/2F4cEJi ♥♥♥
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Dating direct: ❶❶❶ http://bit.ly/2F4cEJi ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Rapid RESTful Web Applications with Apache Sling and Jackrabbit

  1. 1. Rapid RESTful Web Applications with Apache Sling and Jackrabbit<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br />
  2. 2. Speakers<br />Craig S Dickson<br />craig@craigsdickson.com<br />Ruben Reusser<br />headwire.com, Inc<br />rr@headwire.com<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br />
  3. 3. Agenda<br />What is<br />Apache Jackrabbit/JCR170 and 283<br />Apache Sling<br />Demo Application<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br />
  4. 4. What does Jackrabbit Provide? <br />JCR 170/283 repository<br />Hierarchical Storage of Data<br />Versioning<br />Query Language<br />Search<br />Security<br />Pluggable Persistence Manager<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br />
  5. 5. What does Jackrabbit Provide? <br />Hierarchical Storage of Data<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br />root<br />apps<br />data<br />content<br />sling:resourceType<br />jcr:title<br />
  6. 6. What does Jackrabbit Provide? <br />Query Language<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br />select * from nt:base where jcr:path like ‘/data/%’<br />
  7. 7. What does Jackrabbit Provide? <br />Search<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br />Select * from nt:base where contains(*, ‘hello world’)<br />Query is executed with apache lucene and result snippets are automatically provided.<br />
  8. 8. What does Jackrabbit Provide? <br />Security<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br /><ul><li>By default path based security, respected by search and access to the repository
  9. 9. Allows for row level security per user</li></li></ul><li>What does Jackrabbit Provide? <br />Pluggable Persistence Manager<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br /><ul><li>Jackrabbit can store data on:
  10. 10. File System
  11. 11. Database
  12. 12. Oracle
  13. 13. Derby
  14. 14. MySQL
  15. 15. DB2
  16. 16. MS SQL Server
  17. 17. Persistence Manager is pluggable, new persistence managers can be written</li></li></ul><li>What does Sling Provide?<br />RESTful framework to access and develop<br />OSGi (Felix)<br />Script execution and resolution<br />Multiple programming languages<br />WebDav<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br />
  18. 18. What does Sling Provide?<br />RESTful framework to access and develop<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br />
  19. 19. What does Sling Provide?<br />Script execution and resolution<br /><ul><li>Primary Resource Type is used to find corresponding script in /apps
  20. 20. Each resource type can provide a script for any VERB (GET/PUT/DELETE)
  21. 21. Each resource type can provide a script for any extension and selector</li></ul> Index.html, index.json, index.hello.html<br />Out of the box supported languages:<br /> JSP, ECMA Script, Groovy, Scala, Java<br />
  22. 22. Why Rapid?<br />Easy to create forms<br />Easy to store/retrieve data<br />Script Engine<br />Content Driven<br />Developer works on extending the engine and not on Individual page<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br />
  23. 23. DEMO<br />Add a Form<br />Create the Data<br />Render a list of the Data<br />View the Data<br />Update the Data<br />Delete the Data<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br />
  24. 24. Ready for Prime Time?<br />Sling/Jackrabbit are the backbone of multiple CMS and other applications<br />Examples: <br />Adobe ADEP/WEM<br />Magnolia<br />Jahia<br />…<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br />
  25. 25. More Information<br />http://sling.apache.org<br />http://jackrabbit.apache.org<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br />
  26. 26. Questions?<br />Craig S Dickson<br />craig@craigsdickson.com<br />http://www.craigsdickson.com<br />Ruben Reusser<br />headwire.com, Inc<br />rr@headwire.com<br />http://www.headwire.com<br />headwire.com, Inc, Craig S. Dickson, Ruben Reusser<br />

×