SlideShare uma empresa Scribd logo
1 de 15
Baixar para ler offline
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

Mais conteúdo relacionado

Último

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
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Último (20)

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
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
 
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
 
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
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 

Destaque

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)
 

Destaque (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