Apache Con U S07 F F T Sling

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Apache Con U S07 F F T Sling - Presentation Transcript

    1. Apache Sling Felix Meschberger Day Management AG fmeschbe@apache.org    
    2. General Request Processing request ResourceResolver Resource (resource type) ServletResolver Servlet Script response    
    3. URI Decomposition /content/page.print.a4.html Resource Path Selectors Extension    
    4. Servlet Resolution • Registered Servlets – Resource Type • Scripts – ScriptResolver • DefaultServlet – Fallback / Last Ressort    
    5. ScriptResolver • Path to Script built from ... • Defined Root ( /sling/scripts ) • Resource Type converted to path ( nt/file ) • Selector String ( print/a4) • Request Method & MIME Type – GET  ­­>  MIME Type ( html für text/html ) – else ­­> Method Name (POST, PUT, ...)    
    6. ScriptResolver Example • URI: /content/page.print.a4.html • Resource: /content/page • Resource Type: sample:page • Script for GET: – /sling/scripts/sample/page/print/a4/html.* • Script for POST: – /sling/scripts/sample/page/print/a4/POST.*    
    7. Facts • Sling API – No Reference to JCR API • Modular and Runtime Configurable – OSGi Framework • Two Flavors – microsling – simple, selfcontained, entry – Sling – OSGi Bundles, flexible, extensible    
    8. microsling • Selfcontained Web Application • Deploy to favourite Servlet Container    
    9. Sling • Two Deployments – Standalone, Executable JAR File – Web Application • Launches OSGi Framework    
    10. Questions    

    + dayday, 3 years ago

    custom

    816 views, 0 favs, 1 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 816
      • 795 on SlideShare
      • 21 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 18
    Most viewed embeds
    • 21 views on http://dev.day.com

    more

    All embeds
    • 21 views on http://dev.day.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories