OSGi In A Nutshell1. OSGi in a nutshell
Debunking the myth of OSGi’s complexity
Copyright © Pierre-Antoine Grégoire License Creative
Commons 2.0
2. 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
3. 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
4. In a nutshell?
OSGi
Copyright © Pierre-Antoine Grégoire License Creative
Commons 2.0
6. ! Classloading issues
! Dependency hell
! Dumb Lifecycles
! …etc
Standard Java Modularity
Copyright © Pierre-Antoine Grégoire License Creative
Commons 2.0
7. OSGi
==
Real modularity
in the belly of
Java,
Now!
Copyright © Pierre-Antoine Grégoire License Creative
Commons 2.0
8. OSGi Module
==
Bundle
==
Jar with
META-INF/
Manifest.mf
Copyright © Pierre-Antoine Grégoire License Creative
Commons 2.0
10. 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
11. Bundle
==
Service Oriented
Component
==
Service Consumer
and/or
Service Provider
Copyright © Pierre-Antoine Grégoire License Creative
Commons 2.0
12. OSGi Runtime
==
Services Registry and Services
Lifecycle Management
Copyright © Pierre-Antoine Grégoire License Creative
Commons 2.0
13. And now, for something
completely different…
Copyright © Pierre-Antoine Grégoire License Creative
Commons 2.0
14. The….
Demo!
Copyright © Pierre-Antoine Grégoire License Creative
Commons 2.0
15. 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