OSGi in a nutshell
Debunking the myth of OSGi’s complexity


              Copyright © Pierre-Antoine Grégoire License Cre...
Event

!   http://www.yajug.lu
!   March 08 2010 Eclipse, OSGi and Spring dmServer
   (Project Eclipse Virgo)




        ...
Speaker
!   Pierre-Antoine Grégoire

!   I.T.Architect at

!   Occasional committer in open source projects

!   Dislikes ...
In a nutshell?



       OSGi




    Copyright © Pierre-Antoine Grégoire License Creative
                               ...
Modularity == Flexibility
    … with limits




      Copyright © Pierre-Antoine Grégoire License Creative
               ...
!   Classloading issues

                                  !   Dependency hell

                                  !   Dumb...
OSGi
                        ==
                 Real modularity
                  in the belly of
                       ...
OSGi Module
     ==
  Bundle
     ==
  Jar with
 META-INF/
 Manifest.mf
           Copyright © Pierre-Antoine Grégoire Lic...
Multiple bundles?
More small pieces?
Easier to manage?


             Copyright © Pierre-Antoine Grégoire License Creative...
OSGi Runtime
         ==
 Runtime for Bundles
         ==
 Bundle Lifecycle and
Dependency Manager
+ System Services (pre-...
Bundle
             ==
      Service Oriented
        Component
             ==
     Service Consumer
           and/or
  ...
OSGi Runtime
              ==
Services Registry and Services
   Lifecycle Management




            Copyright © Pierre-An...
And now, for something
 completely different…



         Copyright © Pierre-Antoine Grégoire License Creative
           ...
The….
Demo!



        Copyright © Pierre-Antoine Grégoire License Creative
                                              ...
Creative Commons Attributions
!   http://www.flickr.com/photos/elixir/193006996/

!   http://www.flickr.com/photos/clonedm...
Upcoming SlideShare
Loading in …5
×

OSGi In A Nutshell

1,674 views

Published on

These are the introduction slides for a swift introduction to OSGi, followed by a demo, soon made available on http://www.parleys.com/.

Published in: Technology, Sports
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,674
On SlideShare
0
From Embeds
0
Number of Embeds
19
Actions
Shares
0
Downloads
30
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

OSGi In A Nutshell

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

×