OSGi In A Nutshell
-
Upload
pierre-antoine-gregoire -
Category
Technology
-
view
1.089 -
download
1
description
Transcript of OSGi In A Nutshell
OSGi in a nutshell Debunking the myth of OSGi’s complexity
Copyright © Pierre-Antoine Grégoire License Creative Commons 2.0
Event
! http://www.yajug.lu
! March 08 2010 Eclipse, OSGi and Spring dmServer (Project Eclipse Virgo)
Copyright © Pierre-Antoine Grégoire License Creative Commons 2.0
Speaker
! Pierre-Antoine Grégoire
! I.T.Architect at
! Occasional committer in open source projects
! Dislikes buzzwords (SOA, EDA…), likes to conceptualize and build architectures and to promote Agile practices
! Thinks having fun and working seriously (both at the same time) should be mandatory!
Copyright © Pierre-Antoine Grégoire License Creative Commons 2.0
In a nutshell?
OSGi
Copyright © Pierre-Antoine Grégoire License Creative Commons 2.0
Modularity == Flexibility … with limits
Copyright © Pierre-Antoine Grégoire License Creative Commons 2.0
Standard Java Modularity
! Classloading issues
! Dependency hell
! Dumb Lifecycles
! …etc
Copyright © Pierre-Antoine Grégoire License Creative Commons 2.0
OSGi ==
Real modularity in the belly of
Java, Now!
Copyright © Pierre-Antoine Grégoire License Creative Commons 2.0
OSGi Module ==
Bundle ==
Jar with META-INF/Manifest.mf
Copyright © Pierre-Antoine Grégoire License Creative Commons 2.0
Multiple bundles? More small pieces? Easier to manage?
Copyright © Pierre-Antoine Grégoire License Creative Commons 2.0
OSGi Runtime ==
Runtime for Bundles ==
Bundle Lifecycle and Dependency Manager + System Services (pre-
deployed bundles) Copyright © Pierre-Antoine Grégoire License Creative
Commons 2.0
Bundle ==
Service Oriented Component
== Service Consumer
and/or Service Provider
Copyright © Pierre-Antoine Grégoire License Creative Commons 2.0
OSGi Runtime ==
Services Registry and Services Lifecycle Management
Copyright © Pierre-Antoine Grégoire License Creative Commons 2.0
And now, for something completely different…
Copyright © Pierre-Antoine Grégoire License Creative Commons 2.0
The…. Demo!
Copyright © Pierre-Antoine Grégoire License Creative Commons 2.0
Creative Commons Attributions
! http://www.flickr.com/photos/elixir/193006996/
! http://www.flickr.com/photos/clonedmilkmen/3604999084/
! http://www.flickr.com/photos/starycat/461380473/
! http://www.flickr.com/photos/redux/4298421692/
! http://www.flickr.com/photos/lostcarpark/250616113/
! http://media.paperblog.fr/i/68/688035/lego-lego-L-2.jpeg
! http://www.muhlenberg.edu/cultural/graver/Collections/WetlandPlants/LarchTree.JPG
Copyright © Pierre-Antoine Grégoire License Creative Commons 2.0