Apache Sling is an innovative web framework built on top of the Java Content Repository (JCR), that uses OSGi for its component model and fosters RESTful application design. This talk shows how Sling integrates various standard-based technologies, like OSGi and the Content Repository API for Java to create a coherent framework for web application development. We will walk through the development of a simple application with minimal effort and demonstrate how to productize the resulting application. We will pay special attention to some approaches which are not yet part of mainstream development, such as using OSGi for dependecy injection and JCR for persistence.
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
Effective web application development with Apache Sling
1. http://robert.muntea.nu @rombert
Effective Web Application Development with Apache Sling
Effective Web Application Development
with Apache Sling
Robert Munteanu, Adobe Systems
CodeCamp Iași 2016
3. http://robert.muntea.nu @rombert
What is Apache Sling?
●
What is Apache Sling?
●
Content-Driven/RESTful applications
●
What can Sling do for me?
●
Demo
●
Wrap-up
17. http://robert.muntea.nu @rombert
What is a resource?
●
The smallest individually addressable unit
●
Minimally has a name
●
Key-value for properties
●
Optionally has a parent
●
Optionally has a child
26. http://robert.muntea.nu @rombert
What can Sling do for me?
●
What is Apache Sling?
●
Content-Driven/RESTful applications
●
What can Sling do for me?
●
Demo
●
Wrap-up
28. http://robert.muntea.nu @rombert
Modularity with OSGi
●
The solution we chose for modularity and services
●
Comes with lots of add-ons:
●
Eventing
●
Administrative console
●
Configuration
●
Hot deployment
●
etc
●
Forces application to handle the “real-world”
dynamics
●
Easy configuration using annotations