OSGi Web Development
in Action
Christian Baranowski,
SEITENBAU Gmbh

Even

t 20

14
Welcome
•

Christian Baranowski

•

Software Developer @ SEITENBAU
•

Software Engineering

•

Custom Software Solutions

•

E-Government Solutions

•

Identity Management and SSO Solutions

•

www.seitenbau.de
Bndtools
Easy, powerful and productive way to develop
OSGi applications. Based on bnd and Eclipse.
http://bndtools.org/
enRoute Blog
•

OSGi demo project by Peter Kriens

https://github.com/osgi/osgi.enroute.blog/

•

Step by step tutorial from Peter Kriens

https://github.com/osgi/osgi.enroute.blog/blob/
master/OSGi-enRoute-blog.pdf?raw=true

•

Last OSGi Code Camp was based on this
tutorial
Simple Web App
HTTPService
Apache Felix
HTTP

aQute!
webserver

Extender
 
static/*

osgi.simple.webapp

Extender
 
configuration/configuration.json
 
aQute!
Configurer

Configuration
 Admin

Apache Felix!
Config Admin
X-Rays for OSGi
Simple way to debug Services and Dynamic.

http://softwaresimplexity.blogspot.de/2012/05/x-rays-for-osgi.html
Static Web Bundles
Extender
 
static/*

osgi.simple.webapp
aQute!
webserver

com.twitter.bootstrap

com.google.angularjs
REST Todo Resource (Client)
var todoApp = angular.module( 'todoApp', ['ngResource']);
!
todoApp.factory( 'todoResource', ['$resource', function($resource) {
return $resource( '/rest/todos/:todoId', { todoId: '@todoId' }, {
archive: {
url: '/rest/archive',
method: 'DELETE',
params: {todoIds: '@todoIds'}
}
});
}]);

http://angularjs.org
REST Todo Resource
ResourceManager

HTTPService
Apache Felix
HTTP

aQute!
rest.srv

Whiteboard
 Pattern

osgi.simple.webapp

OSGi Web Development in Action