Rapid RESTful Web Applications with Apache Sling and Jackrabbit
Upcoming SlideShare
Loading in...5
×
 

Rapid RESTful Web Applications with Apache Sling and Jackrabbit

on

  • 9,207 views

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.

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.

Statistics

Views

Total Views
9,207
Views on SlideShare
4,703
Embed Views
4,504

Actions

Likes
2
Downloads
77
Comments
0

19 Embeds 4,504

http://java.dzone.com 2072
http://architects.dzone.com 1324
http://craigsdickson.com 1067
http://feeds.feedburner.com 10
http://www.javaoracleblog.com 5
http://www.renren.it 4
http://www.rritw.com 3
http://feeds2.feedburner.com 3
http://www.linkedin.com 3
http://www.dzone.com 3
http://www.google.de 2
http://dzone.com 1
http://translate.googleusercontent.com 1
http://f.gen.renren.it 1
http://renren.it 1
http://a0.twimg.com 1
http://www.slideshare.net 1
http://paper.li 1
http://webcache.googleusercontent.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution-NoDerivs LicenseCC Attribution-NoDerivs License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Rapid RESTful Web Applications with Apache Sling and Jackrabbit Rapid RESTful Web Applications with Apache Sling and Jackrabbit Presentation Transcript

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

    headwire.com, Inc, Craig S. Dickson, Ruben Reusser
  • More Information
    http://sling.apache.org
    http://jackrabbit.apache.org
    headwire.com, Inc, Craig S. Dickson, Ruben Reusser
  • Questions?
    Craig S Dickson
    craig@craigsdickson.com
    http://www.craigsdickson.com
    Ruben Reusser
    headwire.com, Inc
    rr@headwire.com
    http://www.headwire.com
    headwire.com, Inc, Craig S. Dickson, Ruben Reusser