SlideShare une entreprise Scribd logo
1  sur  15
Télécharger pour lire hors ligne
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
!   Classloading issues

                                  !   Dependency hell

                                  !   Dumb Lifecycles

                                  !   …etc




Standard Java Modularity
      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

Contenu connexe

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

OSGi In A Nutshell

  • 1. 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
  • 5. Modularity == Flexibility … with limits 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
  • 9. Multiple bundles? More small pieces? Easier to manage? 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