SlideShare a Scribd company logo
Creating a REST API for Cloud services using OSGi and Sling 
Carsten Ziegeler and David Bosschaert 
© 2014 Adobe Systems Incorporated. All Rights Reserved. AAddoobbee CCoonnffddeennttiiaall..
Speakers 
● David Bosschaert (davidb@apache.org) 
– R&D Adobe Research Dublin 
– Co-chair OSGi EEG 
– Open-source and cloud enthusiast 
● Carsten Ziegeler (cziegeler@apache.org) 
– R&D Adobe Research Switzerland 
– OSGi Board, CPEG and EEG member 
– ASF member 
© 2014 Adobe Systems Incorporated. All Rights Reserved. AAddoobbee CCoonnffddeennttiiaall..
© 2014 Adobe Systems Incorporated. All Rights Reserved. AAddoobbee CCoonnffddeennttiiaall.. 
Agenda 
●A REST site 
with Apache Sling 
●Scale it up! 
with OSGi and jclouds
© 2014 Adobe Systems Incorporated. All Rights Reserved. AAddoobbee CCoonnffddeennttiiaall..
Te Next Great Application 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
ROA and REST 
● htp://…/products.jsp?id=5643564 
● htp://…/slingshot/slingshot1/public/travel/pet.(html|json) 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
Resource Oriented Architecture 
● Every piece of information is a resource 
● User home, category, item, image, comment 
● Descriptive URI 
● Stateless web architecture (REST) 
● Request contains all relevant information 
● Targets the resource 
● Leverage HTTP 
● GET for rendering, POST/PUT/DELETE for operations 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
SlingShot Content Structure 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. 
/ 
slingshot1 slingshot2 
public 
travel 
home pet 
images comments ratings 
pet.jpg
Resource-frst Request Processing 
● Request: /slingshot1/public/travel/pet/comments.10.json 
● Resource: /slingshot1/public/travel/pet/comments 
● Extension: json 
● Selector: 10 
● Method: GET 
● Resource Type : slingshot/comments 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
Resource-frst Request processing 
1. Resolve the resource 
2. Resolve processing script 
3. Build execution chain 
4. Execute 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
Scripting Inside 
● It’s your choice 
● JSP, servlet, ESP, Scala, Sightly 
● javax.script 
● own script handlers 
● Default servlets 
● JSON, XML 
● POST/update/create/delete handling 
● Error handling 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. 
<sling:defineObjects/> 
<div class="comment"> 
<% 
final ValueMap attr = resource.getValueMap(); 
final String title = attr.get(PROPERTY_TITLE, 
resource.getName()); 
final String description = attr.get(PROPERTY_DESCRIPTION, ""); 
final String userId = attr.get(PROPERTY_USER, ""); 
%> 
<h4><%= ResponseUtil.escapeXml(userId) %> : 
<%= ResponseUtil.escapeXml(title) %></h4> 
<p><%= ResponseUtil.escapeXml(description) %></p> 
<p><%= ResponseUtil.escapeXml( 
attr.get(SlingshotConstants.PROPERTY_CREATED, "")) %></p> 
</div>
Resource Providers 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. 
/ 
slingshot1 
public 
travel 
home pet 
images comments ratings 
pet.jpg 
MongoDB 
FS 
JCR 
Apache Jackrabbit
Scale UP! 
● Efectively use the cloud 
● Scale up/down based on need 
● start small = cheap 
● No downtime 
● when moving to larger machines 
● No cloud-provider specifcs 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
Sling 
OOSSGGii NNooddee 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. 
28/10/14 
Sling in the cloud 
Load Balancer(s) 
OOSSGGii NNooddee 
Sling 
Director 
traffic
OOSSGGii NNooddee 
Sling 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. 
Sling 
28/10/14 
Director 
OOSSGGii NNooddee 
Sling 
Director 
provision 
inspect 
discover 
OOSSGGii NNooddee 
Sling 
OOSSGGii NNooddee 
jclouds 
create 
destroy 
mmeettrriiccss 
OSGi Cloud Ecosystems (RFC 183) 
FrameworkNodeStatus Service
Sling 
OOSSGGii NNooddee 
Sling 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. 
28/10/14 
Busy times 
Load Balancer(s) 
OOSSGGii NNooddee 
Sling 
Director 
traffic 
OOSSGGii NNooddee 
OOSSGGii NNooddee 
Sling
Sling 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. 
28/10/14 
Quiet times 
Load Balancer(s) 
OOSSGGii NNooddee 
Director 
traffic
Sling Sling 
Sling Sling 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. 
28/10/14 
Really Quiet times 
Load Balancer(s) 
OOSSGGii NNooddee 
Director 
Docker 
instances
Summary 
● Use Sling to build your REST service 
● Write your app using anything that can interact with REST 
● Native app 
● Javascript 
● … 
● Use OSGi Cloud Ecosystems, Apache jclouds and Docker to scale 
● Be cloud-vendor independent! 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
Interested in OSGi and Cloud? 
● Come to the OSGi Cloud Workshop 
Wednesday October 29 at 15:15 (Seminarräume 1-3) 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
Innovation at Adobe 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. 
22 
Links 
● Apache Sling – htp://sling.apache.org 
● Apache jclouds – htp://jclouds.apache.org 
● SlingShot Sample application – htp://svn.apache.org/repos/asf/sling/trunk/samples/slingshot 
● OSGi Cloud Ecosystems RFC 183 – htps://github.com/osgi/design/tree/master/rfcs/rfc0183
© 2014 Adobe Systems Incorporated. All Rights Reserved. AAddoobbee CCoonnffddeennttiiaall..

More Related Content

PPTX
Node.Js: Basics Concepts and Introduction
PDF
Understand How Node.js and Core Features Works
PDF
Launch Arguments & NSUserDefaults by Franck Lefebvre
PDF
Node.js - Introduction and role in Frontend Development
PDF
Rebranding an ios application
PDF
Modern operations with Apache Sling (2014 adaptTo version)
PDF
Kraken at DevCon TLV
PPTX
Getting started with node.js
Node.Js: Basics Concepts and Introduction
Understand How Node.js and Core Features Works
Launch Arguments & NSUserDefaults by Franck Lefebvre
Node.js - Introduction and role in Frontend Development
Rebranding an ios application
Modern operations with Apache Sling (2014 adaptTo version)
Kraken at DevCon TLV
Getting started with node.js

What's hot (18)

PDF
GradleのREPLプラグイン紹介 #jggug
PDF
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
PDF
Introduction to Node.js
PDF
Heroku 101 py con 2015 - David Gouldin
PDF
AWS Summit Santa Slara 2019 Mar ECS
PDF
Infrastructure as code with Puppet and Apache CloudStack
PDF
JHipster
PDF
All aboard the NodeJS Express
PDF
KrakenJS
PDF
Why we chose Argo Workflow to scale DevOps at InVision
PDF
Arquitecturas de microservicios - Codemotion 2014
PDF
DevOps tools for everyone - Vagrant, Puppet and Webmin
PDF
GitBucket: The perfect Github clone by Scala
PDF
The story of language development
PDF
Fire dev ops - lightning talk from WrocLove.rb 2014
PDF
Natively clouded Journey
PPT
Node.js Basics
PDF
Web APIs in Node.js Core: Past, Present, and Future (JSConf EU 2019)
GradleのREPLプラグイン紹介 #jggug
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
Introduction to Node.js
Heroku 101 py con 2015 - David Gouldin
AWS Summit Santa Slara 2019 Mar ECS
Infrastructure as code with Puppet and Apache CloudStack
JHipster
All aboard the NodeJS Express
KrakenJS
Why we chose Argo Workflow to scale DevOps at InVision
Arquitecturas de microservicios - Codemotion 2014
DevOps tools for everyone - Vagrant, Puppet and Webmin
GitBucket: The perfect Github clone by Scala
The story of language development
Fire dev ops - lightning talk from WrocLove.rb 2014
Natively clouded Journey
Node.js Basics
Web APIs in Node.js Core: Past, Present, and Future (JSConf EU 2019)
Ad

Viewers also liked (20)

PDF
Eclipse Gyrex OSGi based PaaS-Like Programming Stack - OSGi Cloud Workshop Ma...
PDF
Cloudy with a Chance of Bundles (and non java components) - R Nicholson & T Ward
PDF
OSGi Cloud Ecosystems
PDF
Cloud & OSGi - The Dawn of Composite Clouds (Now with demo videos)
PDF
Paremus Cloud and OSGi Beyond the VM - OSGi Cloud Workshop March 2012
PDF
Lessons learned from a large scale OSGii web app - P Bakker & J de Vreede
PDF
From Distributed to Pervasive OSGi
PDF
Robust collaboration services with OSGi - Satya Maheshwari
PDF
Using OSGi as a Cloud Platform - Jan Rellermeyer
PDF
Better WebApp Development using OSGi - Raymond Auge
PDF
OSGi and Private Clouds
PDF
Cloud and OSGi at eBay - OSGi Cloud Workshop March 2012
PDF
OSGi PaaS+ building a modular and secure cloud platform with OSGi - A Grzesik
PDF
Complexity, Components & Clouds (Paremus)
PDF
The Dawn of Composite Clouds – Why OSGi is the Most Important Ingredient in t...
PDF
Modular Java EE in the Cloud
PDF
Modular JavaScript in an OSGi World - S Mak
PDF
Building Secure OSGi Applications
PDF
Deploying Heterogeneous Artifacts to the Cloud with OSGi - Neil Bartlett
PDF
RESTful OSGi middleware for NoSQL databases with Docker
Eclipse Gyrex OSGi based PaaS-Like Programming Stack - OSGi Cloud Workshop Ma...
Cloudy with a Chance of Bundles (and non java components) - R Nicholson & T Ward
OSGi Cloud Ecosystems
Cloud & OSGi - The Dawn of Composite Clouds (Now with demo videos)
Paremus Cloud and OSGi Beyond the VM - OSGi Cloud Workshop March 2012
Lessons learned from a large scale OSGii web app - P Bakker & J de Vreede
From Distributed to Pervasive OSGi
Robust collaboration services with OSGi - Satya Maheshwari
Using OSGi as a Cloud Platform - Jan Rellermeyer
Better WebApp Development using OSGi - Raymond Auge
OSGi and Private Clouds
Cloud and OSGi at eBay - OSGi Cloud Workshop March 2012
OSGi PaaS+ building a modular and secure cloud platform with OSGi - A Grzesik
Complexity, Components & Clouds (Paremus)
The Dawn of Composite Clouds – Why OSGi is the Most Important Ingredient in t...
Modular Java EE in the Cloud
Modular JavaScript in an OSGi World - S Mak
Building Secure OSGi Applications
Deploying Heterogeneous Artifacts to the Cloud with OSGi - Neil Bartlett
RESTful OSGi middleware for NoSQL databases with Docker
Ad

Similar to Creating an all-purpose REST API for Cloud services using OSGi and Sling - C Ziegeler & D Bosschaert (20)

PPTX
AEM and Sling
PPTX
AEM and Sling
PPTX
Dockerizing apps for the Deployment Platform of the Month with OSGi - David B...
PDF
IMMERSE'16 Introduction to adobe experience manager back end
PDF
JCR and Sling Quick Dive
PDF
NodeJS
PDF
Open Architecture in the Adobe Marketing Cloud - Summit 2014
PDF
Node.js an Exectutive View
PPTX
An Early Evaluation of Running Spark on Kubernetes
PDF
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...
PDF
Aswin
PDF
RESTful web apps with Apache Sling - 2013 version
PDF
Introduction+to+AngularJS+with+logo+from+digital+ocean.pdf
PDF
Integrating with Adobe Marketing Cloud - Summit 2014
PPTX
Apigee deploy grunt plugin.1.0
PPTX
Go Revel Gooo...
PPTX
Running Splunk on AWS
PDF
Better Code: Concurrency
PDF
Cannibalising The Google App Engine
PDF
Continuous Deployment @ AWS Re:Invent
AEM and Sling
AEM and Sling
Dockerizing apps for the Deployment Platform of the Month with OSGi - David B...
IMMERSE'16 Introduction to adobe experience manager back end
JCR and Sling Quick Dive
NodeJS
Open Architecture in the Adobe Marketing Cloud - Summit 2014
Node.js an Exectutive View
An Early Evaluation of Running Spark on Kubernetes
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...
Aswin
RESTful web apps with Apache Sling - 2013 version
Introduction+to+AngularJS+with+logo+from+digital+ocean.pdf
Integrating with Adobe Marketing Cloud - Summit 2014
Apigee deploy grunt plugin.1.0
Go Revel Gooo...
Running Splunk on AWS
Better Code: Concurrency
Cannibalising The Google App Engine
Continuous Deployment @ AWS Re:Invent

More from mfrancis (20)

PDF
Eclipse Modeling Framework and plain OSGi the easy way - Mark Hoffman (Data I...
PDF
OSGi and Java 9+ - BJ Hargrave (IBM)
PDF
Simplify Web UX Coding using OSGi Modularity Magic - Paul Fraser (A2Z Living)
PDF
OSGi for the data centre - Connecting OSGi to Kubernetes - Frank Lyaruu
PDF
Remote Management and Monitoring of Distributed OSGi Applications - Tim Verbe...
PDF
OSGi with Docker - a powerful way to develop Java systems - Udo Hafermann (So...
PDF
A real world use case with OSGi R7 - Jurgen Albert (Data In Motion Consulting...
PDF
OSGi Feature Model - Where Art Thou - David Bosschaert (Adobe)
PDF
Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...
PDF
OSGi CDI Integration Specification - Ray Augé (Liferay)
PDF
How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...
PDF
Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...
PDF
It Was Twenty Years Ago Today - Building an OSGi based Smart Home System - Ch...
PDF
Popular patterns revisited on OSGi - Christian Schneider (Adobe)
PDF
Integrating SLF4J and the new OSGi LogService 1.4 - BJ Hargrave (IBM)
PDF
OSG(a)i: because AI needs a runtime - Tim Verbelen (imec)
PDF
Flying to Jupiter with OSGi - Tony Walsh (ESA) & Hristo Indzhov (Telespazio V...
PDF
MicroProfile, OSGi was meant for this - Ray Auge (Liferay)
PDF
Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...
PDF
How to connect your OSGi application - Dirk Fauth (Bosch)
Eclipse Modeling Framework and plain OSGi the easy way - Mark Hoffman (Data I...
OSGi and Java 9+ - BJ Hargrave (IBM)
Simplify Web UX Coding using OSGi Modularity Magic - Paul Fraser (A2Z Living)
OSGi for the data centre - Connecting OSGi to Kubernetes - Frank Lyaruu
Remote Management and Monitoring of Distributed OSGi Applications - Tim Verbe...
OSGi with Docker - a powerful way to develop Java systems - Udo Hafermann (So...
A real world use case with OSGi R7 - Jurgen Albert (Data In Motion Consulting...
OSGi Feature Model - Where Art Thou - David Bosschaert (Adobe)
Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...
OSGi CDI Integration Specification - Ray Augé (Liferay)
How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...
Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...
It Was Twenty Years Ago Today - Building an OSGi based Smart Home System - Ch...
Popular patterns revisited on OSGi - Christian Schneider (Adobe)
Integrating SLF4J and the new OSGi LogService 1.4 - BJ Hargrave (IBM)
OSG(a)i: because AI needs a runtime - Tim Verbelen (imec)
Flying to Jupiter with OSGi - Tony Walsh (ESA) & Hristo Indzhov (Telespazio V...
MicroProfile, OSGi was meant for this - Ray Auge (Liferay)
Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...
How to connect your OSGi application - Dirk Fauth (Bosch)

Recently uploaded (20)

PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
KodekX | Application Modernization Development
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Spectroscopy.pptx food analysis technology
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Programs and apps: productivity, graphics, security and other tools
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
KodekX | Application Modernization Development
MIND Revenue Release Quarter 2 2025 Press Release
Diabetes mellitus diagnosis method based random forest with bat algorithm
Spectroscopy.pptx food analysis technology
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Understanding_Digital_Forensics_Presentation.pptx
MYSQL Presentation for SQL database connectivity
Programs and apps: productivity, graphics, security and other tools
The AUB Centre for AI in Media Proposal.docx
Empathic Computing: Creating Shared Understanding
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Spectral efficient network and resource selection model in 5G networks
Dropbox Q2 2025 Financial Results & Investor Presentation
sap open course for s4hana steps from ECC to s4
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
The Rise and Fall of 3GPP – Time for a Sabbatical?
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf

Creating an all-purpose REST API for Cloud services using OSGi and Sling - C Ziegeler & D Bosschaert

  • 1. Creating a REST API for Cloud services using OSGi and Sling Carsten Ziegeler and David Bosschaert © 2014 Adobe Systems Incorporated. All Rights Reserved. AAddoobbee CCoonnffddeennttiiaall..
  • 2. Speakers ● David Bosschaert (davidb@apache.org) – R&D Adobe Research Dublin – Co-chair OSGi EEG – Open-source and cloud enthusiast ● Carsten Ziegeler (cziegeler@apache.org) – R&D Adobe Research Switzerland – OSGi Board, CPEG and EEG member – ASF member © 2014 Adobe Systems Incorporated. All Rights Reserved. AAddoobbee CCoonnffddeennttiiaall..
  • 3. © 2014 Adobe Systems Incorporated. All Rights Reserved. AAddoobbee CCoonnffddeennttiiaall.. Agenda ●A REST site with Apache Sling ●Scale it up! with OSGi and jclouds
  • 4. © 2014 Adobe Systems Incorporated. All Rights Reserved. AAddoobbee CCoonnffddeennttiiaall..
  • 5. Te Next Great Application © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
  • 6. ROA and REST ● htp://…/products.jsp?id=5643564 ● htp://…/slingshot/slingshot1/public/travel/pet.(html|json) © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
  • 7. Resource Oriented Architecture ● Every piece of information is a resource ● User home, category, item, image, comment ● Descriptive URI ● Stateless web architecture (REST) ● Request contains all relevant information ● Targets the resource ● Leverage HTTP ● GET for rendering, POST/PUT/DELETE for operations © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
  • 8. SlingShot Content Structure © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. / slingshot1 slingshot2 public travel home pet images comments ratings pet.jpg
  • 9. Resource-frst Request Processing ● Request: /slingshot1/public/travel/pet/comments.10.json ● Resource: /slingshot1/public/travel/pet/comments ● Extension: json ● Selector: 10 ● Method: GET ● Resource Type : slingshot/comments © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
  • 10. Resource-frst Request processing 1. Resolve the resource 2. Resolve processing script 3. Build execution chain 4. Execute © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
  • 11. Scripting Inside ● It’s your choice ● JSP, servlet, ESP, Scala, Sightly ● javax.script ● own script handlers ● Default servlets ● JSON, XML ● POST/update/create/delete handling ● Error handling © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
  • 12. © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. <sling:defineObjects/> <div class="comment"> <% final ValueMap attr = resource.getValueMap(); final String title = attr.get(PROPERTY_TITLE, resource.getName()); final String description = attr.get(PROPERTY_DESCRIPTION, ""); final String userId = attr.get(PROPERTY_USER, ""); %> <h4><%= ResponseUtil.escapeXml(userId) %> : <%= ResponseUtil.escapeXml(title) %></h4> <p><%= ResponseUtil.escapeXml(description) %></p> <p><%= ResponseUtil.escapeXml( attr.get(SlingshotConstants.PROPERTY_CREATED, "")) %></p> </div>
  • 13. Resource Providers © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. / slingshot1 public travel home pet images comments ratings pet.jpg MongoDB FS JCR Apache Jackrabbit
  • 14. Scale UP! ● Efectively use the cloud ● Scale up/down based on need ● start small = cheap ● No downtime ● when moving to larger machines ● No cloud-provider specifcs © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
  • 15. Sling OOSSGGii NNooddee © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. 28/10/14 Sling in the cloud Load Balancer(s) OOSSGGii NNooddee Sling Director traffic
  • 16. OOSSGGii NNooddee Sling © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. Sling 28/10/14 Director OOSSGGii NNooddee Sling Director provision inspect discover OOSSGGii NNooddee Sling OOSSGGii NNooddee jclouds create destroy mmeettrriiccss OSGi Cloud Ecosystems (RFC 183) FrameworkNodeStatus Service
  • 17. Sling OOSSGGii NNooddee Sling © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. 28/10/14 Busy times Load Balancer(s) OOSSGGii NNooddee Sling Director traffic OOSSGGii NNooddee OOSSGGii NNooddee Sling
  • 18. Sling © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. 28/10/14 Quiet times Load Balancer(s) OOSSGGii NNooddee Director traffic
  • 19. Sling Sling Sling Sling © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. 28/10/14 Really Quiet times Load Balancer(s) OOSSGGii NNooddee Director Docker instances
  • 20. Summary ● Use Sling to build your REST service ● Write your app using anything that can interact with REST ● Native app ● Javascript ● … ● Use OSGi Cloud Ecosystems, Apache jclouds and Docker to scale ● Be cloud-vendor independent! © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
  • 21. Interested in OSGi and Cloud? ● Come to the OSGi Cloud Workshop Wednesday October 29 at 15:15 (Seminarräume 1-3) © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential.
  • 22. Innovation at Adobe © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confdential. 22 Links ● Apache Sling – htp://sling.apache.org ● Apache jclouds – htp://jclouds.apache.org ● SlingShot Sample application – htp://svn.apache.org/repos/asf/sling/trunk/samples/slingshot ● OSGi Cloud Ecosystems RFC 183 – htps://github.com/osgi/design/tree/master/rfcs/rfc0183
  • 23. © 2014 Adobe Systems Incorporated. All Rights Reserved. AAddoobbee CCoonnffddeennttiiaall..