SlideShare une entreprise Scribd logo
1  sur  12
Télécharger pour lire hors ligne
© IBM Corp, 2010
Tim Ward | IBM
A crash course in OSGi application
development
© IBM Corp, 2010
A whistlestop tour
• What do we mean by enterprise?
• Enterprise 4.2 specs
– Web Applications
– JPA Service
– JNDI Service
– JTA Service
• The blueprint component model
• Apache Aries packaging
• Live Demo!
© IBM Corp, 2010
What do we mean by “Enterprise”?
• My definition (marketing):
– Mission critical
– Large Scale
– Return on investment
• My definition (technical)
– Reliable
– Accessible
– Legacy
© IBM Corp, 2010
Web Applications (OSGi 4.2)
• Support for Web Application Bundles
– OSGi bundles that are also WARs
– Servlet 2.5 support
• Web-ContextPath header
• Obeys Bundle-Classpath
© IBM Corp, 2010
JPA Service (OSGi 4.2)
• Support for Java SE unmanaged JPA
– Meta-Persistence header
• EntityManagerFactory services
• Apache Aries uses the same header
and service model for managed JPA
– Aries Blueprint extensions provide
JPA resource injection
© IBM Corp, 2010
JNDI Service (OSGi 4.2)
• Allows standard JNDI providers and
clients to work unchanged in OSGi
• The “osgi:” URL scheme allows JNDI
access to the service registry
– It even provides some dynamism
© IBM Corp, 2010
JTA Service (OSGi 4.2)
• Standardised access to
– UserTransaction
– TransactionSynchronizationRegistry
• Aries provides blueprint extensions
for declarative transactions
– Container managed
– Method level granularity
© IBM Corp, 2010
OSGi Blueprint (OSGi 4.2)
• A fine-grained dependency injection
container
– Manages service dynamics
– Supports complex internal wirings
• In Apache Aries blueprint is also the
heart of the programming model
© IBM Corp, 2010
Application Packaging
• In OSGi the unit of deployment is
the OSGi bundle
– No overarching “Application”
• In Aries we define an Enterprise
Bundle Archive (EBA)
– It contains metadata describing the
application
© IBM Corp, 2010
Application Packaging (2)
• An EBA lists the “core content”
– More bundles may be provisioned to
provide dependencies
• A bundle repository is used to
locate bundles for provisioning
– Bundles in the EBA can also be used
• Once provisioned an application has
fixed content
© IBM Corp, 2010
Demo
• A simple stock trading application
– It spans two databases, the “market”
and the “brokerage”
• It uses:
– A basic web front end
– JPA
– 2-phase container transactions
– Blueprint
– JNDI
© IBM Corp, 2010
Questions?
• Not much time now...
• Find me at the IBM stand outside if
you think of anything later
– More demos of Apache Aries in
Open Source and in WebSphere

Contenu connexe

En vedette

Keynote - OSGi as an Evolutionary Precursor for the Connected Vehicle - Darwi...
Keynote - OSGi as an Evolutionary Precursor for the Connected Vehicle - Darwi...Keynote - OSGi as an Evolutionary Precursor for the Connected Vehicle - Darwi...
Keynote - OSGi as an Evolutionary Precursor for the Connected Vehicle - Darwi...
mfrancis
 
OSGi 4.1 Overview - BJ Hargrave, Vice President of Technology / Chief Technol...
OSGi 4.1 Overview - BJ Hargrave, Vice President of Technology / Chief Technol...OSGi 4.1 Overview - BJ Hargrave, Vice President of Technology / Chief Technol...
OSGi 4.1 Overview - BJ Hargrave, Vice President of Technology / Chief Technol...
mfrancis
 
OSGi Users' Forum UK Meeting 3
OSGi Users' Forum UK  Meeting 3OSGi Users' Forum UK  Meeting 3
OSGi Users' Forum UK Meeting 3
mfrancis
 
OSGi Alliance Community Event 2007 - Business Session#1 - Brandon Annan, Lead...
OSGi Alliance Community Event 2007 - Business Session#1 - Brandon Annan, Lead...OSGi Alliance Community Event 2007 - Business Session#1 - Brandon Annan, Lead...
OSGi Alliance Community Event 2007 - Business Session#1 - Brandon Annan, Lead...
mfrancis
 
OSGi Technology in the France Telecom Plugs Home Platform - Gilles Deflandre,...
OSGi Technology in the France Telecom Plugs Home Platform - Gilles Deflandre,...OSGi Technology in the France Telecom Plugs Home Platform - Gilles Deflandre,...
OSGi Technology in the France Telecom Plugs Home Platform - Gilles Deflandre,...
mfrancis
 
We Can Do Better - IBM's Vision for the Next Generation of Java Runtimes - Jo...
We Can Do Better - IBM's Vision for the Next Generation of Java Runtimes - Jo...We Can Do Better - IBM's Vision for the Next Generation of Java Runtimes - Jo...
We Can Do Better - IBM's Vision for the Next Generation of Java Runtimes - Jo...
mfrancis
 
OSGi Users’ Group France - Olivier Pavé, Co-Chair Vehicle Expert Group, OSGi...
OSGi Users’ Group France - Olivier Pavé, Co-Chair Vehicle Expert Group, OSGi...OSGi Users’ Group France - Olivier Pavé, Co-Chair Vehicle Expert Group, OSGi...
OSGi Users’ Group France - Olivier Pavé, Co-Chair Vehicle Expert Group, OSGi...
mfrancis
 
The Role of the OSGi Service Platform and the Enabling End-to-End Architectur...
The Role of the OSGi Service Platform and the Enabling End-to-End Architectur...The Role of the OSGi Service Platform and the Enabling End-to-End Architectur...
The Role of the OSGi Service Platform and the Enabling End-to-End Architectur...
mfrancis
 
2005 OSGi Alliance World Congress Day Two - John R. Barr, Ph.D., Chair OSGi W...
2005 OSGi Alliance World Congress Day Two - John R. Barr, Ph.D., Chair OSGi W...2005 OSGi Alliance World Congress Day Two - John R. Barr, Ph.D., Chair OSGi W...
2005 OSGi Alliance World Congress Day Two - John R. Barr, Ph.D., Chair OSGi W...
mfrancis
 
OSGi Community Event 2007 - Welcome Day 2 - Christer Larsson, Vice President,...
OSGi Community Event 2007 - Welcome Day 2 - Christer Larsson, Vice President,...OSGi Community Event 2007 - Welcome Day 2 - Christer Larsson, Vice President,...
OSGi Community Event 2007 - Welcome Day 2 - Christer Larsson, Vice President,...
mfrancis
 
OSGi Technology Based Product-Service Packages for Multi-tenant-Mudwelling Re...
OSGi Technology Based Product-Service Packages for Multi-tenant-Mudwelling Re...OSGi Technology Based Product-Service Packages for Multi-tenant-Mudwelling Re...
OSGi Technology Based Product-Service Packages for Multi-tenant-Mudwelling Re...
mfrancis
 
OSGi World Congress 2003 - Welcome, Introduction - D Kamlani
OSGi World Congress 2003 - Welcome, Introduction - D KamlaniOSGi World Congress 2003 - Welcome, Introduction - D Kamlani
OSGi World Congress 2003 - Welcome, Introduction - D Kamlani
mfrancis
 
Service Subscribers, Providers, Aggregators- Business and Technique - Anarchy...
Service Subscribers, Providers, Aggregators- Business and Technique - Anarchy...Service Subscribers, Providers, Aggregators- Business and Technique - Anarchy...
Service Subscribers, Providers, Aggregators- Business and Technique - Anarchy...
mfrancis
 

En vedette (20)

Keynote - OSGi as an Evolutionary Precursor for the Connected Vehicle - Darwi...
Keynote - OSGi as an Evolutionary Precursor for the Connected Vehicle - Darwi...Keynote - OSGi as an Evolutionary Precursor for the Connected Vehicle - Darwi...
Keynote - OSGi as an Evolutionary Precursor for the Connected Vehicle - Darwi...
 
OSGi 4.1 Overview - BJ Hargrave, Vice President of Technology / Chief Technol...
OSGi 4.1 Overview - BJ Hargrave, Vice President of Technology / Chief Technol...OSGi 4.1 Overview - BJ Hargrave, Vice President of Technology / Chief Technol...
OSGi 4.1 Overview - BJ Hargrave, Vice President of Technology / Chief Technol...
 
OSGi Users' Forum UK Meeting 3
OSGi Users' Forum UK  Meeting 3OSGi Users' Forum UK  Meeting 3
OSGi Users' Forum UK Meeting 3
 
In Homes / Consumer Electronics - M Beltrami
In Homes / Consumer Electronics - M BeltramiIn Homes / Consumer Electronics - M Beltrami
In Homes / Consumer Electronics - M Beltrami
 
Automatically Managing Service Dependencies in an OSGi Environment - Marcel O...
Automatically Managing Service Dependencies in an OSGi Environment - Marcel O...Automatically Managing Service Dependencies in an OSGi Environment - Marcel O...
Automatically Managing Service Dependencies in an OSGi Environment - Marcel O...
 
OSGi Alliance Community Event 2007 - Business Session#1 - Brandon Annan, Lead...
OSGi Alliance Community Event 2007 - Business Session#1 - Brandon Annan, Lead...OSGi Alliance Community Event 2007 - Business Session#1 - Brandon Annan, Lead...
OSGi Alliance Community Event 2007 - Business Session#1 - Brandon Annan, Lead...
 
OSGi Community Event 2010 - Enterprise Platform over OSGi - Migration Diary
OSGi Community Event 2010 - Enterprise Platform over OSGi - Migration DiaryOSGi Community Event 2010 - Enterprise Platform over OSGi - Migration Diary
OSGi Community Event 2010 - Enterprise Platform over OSGi - Migration Diary
 
Using OSGi R4 Service Platform in Vehicle Embedded Systems - Miguel Lopez, So...
Using OSGi R4 Service Platform in Vehicle Embedded Systems - Miguel Lopez, So...Using OSGi R4 Service Platform in Vehicle Embedded Systems - Miguel Lopez, So...
Using OSGi R4 Service Platform in Vehicle Embedded Systems - Miguel Lopez, So...
 
Microsoft Automotive Business Unit - J Za
Microsoft Automotive Business Unit - J ZaMicrosoft Automotive Business Unit - J Za
Microsoft Automotive Business Unit - J Za
 
OSGi Users Forum UK Meeting 2
OSGi Users Forum UK Meeting 2OSGi Users Forum UK Meeting 2
OSGi Users Forum UK Meeting 2
 
OSGi Technology in the France Telecom Plugs Home Platform - Gilles Deflandre,...
OSGi Technology in the France Telecom Plugs Home Platform - Gilles Deflandre,...OSGi Technology in the France Telecom Plugs Home Platform - Gilles Deflandre,...
OSGi Technology in the France Telecom Plugs Home Platform - Gilles Deflandre,...
 
We Can Do Better - IBM's Vision for the Next Generation of Java Runtimes - Jo...
We Can Do Better - IBM's Vision for the Next Generation of Java Runtimes - Jo...We Can Do Better - IBM's Vision for the Next Generation of Java Runtimes - Jo...
We Can Do Better - IBM's Vision for the Next Generation of Java Runtimes - Jo...
 
OSGi Users’ Group France - Olivier Pavé, Co-Chair Vehicle Expert Group, OSGi...
OSGi Users’ Group France - Olivier Pavé, Co-Chair Vehicle Expert Group, OSGi...OSGi Users’ Group France - Olivier Pavé, Co-Chair Vehicle Expert Group, OSGi...
OSGi Users’ Group France - Olivier Pavé, Co-Chair Vehicle Expert Group, OSGi...
 
The Role of the OSGi Service Platform and the Enabling End-to-End Architectur...
The Role of the OSGi Service Platform and the Enabling End-to-End Architectur...The Role of the OSGi Service Platform and the Enabling End-to-End Architectur...
The Role of the OSGi Service Platform and the Enabling End-to-End Architectur...
 
Oufuk meeting 5 mf
Oufuk meeting 5 mfOufuk meeting 5 mf
Oufuk meeting 5 mf
 
2005 OSGi Alliance World Congress Day Two - John R. Barr, Ph.D., Chair OSGi W...
2005 OSGi Alliance World Congress Day Two - John R. Barr, Ph.D., Chair OSGi W...2005 OSGi Alliance World Congress Day Two - John R. Barr, Ph.D., Chair OSGi W...
2005 OSGi Alliance World Congress Day Two - John R. Barr, Ph.D., Chair OSGi W...
 
OSGi Community Event 2007 - Welcome Day 2 - Christer Larsson, Vice President,...
OSGi Community Event 2007 - Welcome Day 2 - Christer Larsson, Vice President,...OSGi Community Event 2007 - Welcome Day 2 - Christer Larsson, Vice President,...
OSGi Community Event 2007 - Welcome Day 2 - Christer Larsson, Vice President,...
 
OSGi Technology Based Product-Service Packages for Multi-tenant-Mudwelling Re...
OSGi Technology Based Product-Service Packages for Multi-tenant-Mudwelling Re...OSGi Technology Based Product-Service Packages for Multi-tenant-Mudwelling Re...
OSGi Technology Based Product-Service Packages for Multi-tenant-Mudwelling Re...
 
OSGi World Congress 2003 - Welcome, Introduction - D Kamlani
OSGi World Congress 2003 - Welcome, Introduction - D KamlaniOSGi World Congress 2003 - Welcome, Introduction - D Kamlani
OSGi World Congress 2003 - Welcome, Introduction - D Kamlani
 
Service Subscribers, Providers, Aggregators- Business and Technique - Anarchy...
Service Subscribers, Providers, Aggregators- Business and Technique - Anarchy...Service Subscribers, Providers, Aggregators- Business and Technique - Anarchy...
Service Subscribers, Providers, Aggregators- Business and Technique - Anarchy...
 

Similaire à OSGi Community Event 2010 - A Crash Course in OSGi Application Development

Spring Dynamic Modules for OSGi by Example - Martin Lippert, Consultant
Spring Dynamic Modules for OSGi by Example - Martin Lippert, ConsultantSpring Dynamic Modules for OSGi by Example - Martin Lippert, Consultant
Spring Dynamic Modules for OSGi by Example - Martin Lippert, Consultant
mfrancis
 
History and Future of the Downloadable Mobile Marketplace - Jon Bostrom, Nokia
History and Future of the Downloadable Mobile Marketplace - Jon Bostrom, NokiaHistory and Future of the Downloadable Mobile Marketplace - Jon Bostrom, Nokia
History and Future of the Downloadable Mobile Marketplace - Jon Bostrom, Nokia
mfrancis
 
OSGi In Anger - Tara Simpson
OSGi In Anger - Tara SimpsonOSGi In Anger - Tara Simpson
OSGi In Anger - Tara Simpson
mfrancis
 
Introduction to the wso2 carbon platform webinar
Introduction to the wso2 carbon platform   webinarIntroduction to the wso2 carbon platform   webinar
Introduction to the wso2 carbon platform webinar
WSO2
 
Introduction to the WSO2 Carbon Platform
Introduction to the WSO2 Carbon Platform  Introduction to the WSO2 Carbon Platform
Introduction to the WSO2 Carbon Platform
WSO2
 
Using APIs
Using APIsUsing APIs
Using APIs
Akana
 
OSGi Architecture for Mobile Device Software - Peter Kriens, aQute
OSGi Architecture for Mobile Device Software - Peter Kriens, aQuteOSGi Architecture for Mobile Device Software - Peter Kriens, aQute
OSGi Architecture for Mobile Device Software - Peter Kriens, aQute
mfrancis
 
Why Does Modular Middleware Matters
Why Does Modular Middleware MattersWhy Does Modular Middleware Matters
Why Does Modular Middleware Matters
WSO2
 
AD404 - Extend your Social Business by integrating SAP Solutions
AD404 - Extend your Social Business by integrating SAP SolutionsAD404 - Extend your Social Business by integrating SAP Solutions
AD404 - Extend your Social Business by integrating SAP Solutions
Christian Holsing
 

Similaire à OSGi Community Event 2010 - A Crash Course in OSGi Application Development (20)

IBM i at the eart of cognitive solutions
IBM i at the eart of cognitive solutionsIBM i at the eart of cognitive solutions
IBM i at the eart of cognitive solutions
 
Spring Dynamic Modules for OSGi by Example - Martin Lippert, Consultant
Spring Dynamic Modules for OSGi by Example - Martin Lippert, ConsultantSpring Dynamic Modules for OSGi by Example - Martin Lippert, Consultant
Spring Dynamic Modules for OSGi by Example - Martin Lippert, Consultant
 
Modernizing an Existing SOA-based Architecture with APIs
Modernizing an Existing SOA-based Architecture with APIsModernizing an Existing SOA-based Architecture with APIs
Modernizing an Existing SOA-based Architecture with APIs
 
Monoliths are so 2001 – What you need is Modularity
Monoliths are so 2001 – What you need is ModularityMonoliths are so 2001 – What you need is Modularity
Monoliths are so 2001 – What you need is Modularity
 
Building a right sized, do-anything runtime using OSGi technologies: a case s...
Building a right sized, do-anything runtime using OSGi technologies: a case s...Building a right sized, do-anything runtime using OSGi technologies: a case s...
Building a right sized, do-anything runtime using OSGi technologies: a case s...
 
History and Future of the Downloadable Mobile Marketplace - Jon Bostrom, Nokia
History and Future of the Downloadable Mobile Marketplace - Jon Bostrom, NokiaHistory and Future of the Downloadable Mobile Marketplace - Jon Bostrom, Nokia
History and Future of the Downloadable Mobile Marketplace - Jon Bostrom, Nokia
 
OSGi In Anger - Tara Simpson
OSGi In Anger - Tara SimpsonOSGi In Anger - Tara Simpson
OSGi In Anger - Tara Simpson
 
Transforming to Microservices
Transforming to MicroservicesTransforming to Microservices
Transforming to Microservices
 
Introduction to the wso2 carbon platform webinar
Introduction to the wso2 carbon platform   webinarIntroduction to the wso2 carbon platform   webinar
Introduction to the wso2 carbon platform webinar
 
Introduction to the WSO2 Carbon Platform
Introduction to the WSO2 Carbon Platform  Introduction to the WSO2 Carbon Platform
Introduction to the WSO2 Carbon Platform
 
Using APIs
Using APIsUsing APIs
Using APIs
 
JBoss BPM Suite 6 Tech labs
JBoss BPM Suite 6 Tech labsJBoss BPM Suite 6 Tech labs
JBoss BPM Suite 6 Tech labs
 
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application DevelopmentOSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
 
OSGi Architecture for Mobile Device Software - Peter Kriens, aQute
OSGi Architecture for Mobile Device Software - Peter Kriens, aQuteOSGi Architecture for Mobile Device Software - Peter Kriens, aQute
OSGi Architecture for Mobile Device Software - Peter Kriens, aQute
 
Why Does Modular Middleware Matters
Why Does Modular Middleware MattersWhy Does Modular Middleware Matters
Why Does Modular Middleware Matters
 
AD404 - Extend your Social Business by integrating SAP Solutions
AD404 - Extend your Social Business by integrating SAP SolutionsAD404 - Extend your Social Business by integrating SAP Solutions
AD404 - Extend your Social Business by integrating SAP Solutions
 
Platform as a Service - Cloud Foundry and IBM Bluemix
Platform as a Service - Cloud Foundry and IBM BluemixPlatform as a Service - Cloud Foundry and IBM Bluemix
Platform as a Service - Cloud Foundry and IBM Bluemix
 
Zend Products and PHP for IBMi
Zend Products and PHP for IBMi  Zend Products and PHP for IBMi
Zend Products and PHP for IBMi
 
RESTful Services and Distributed OSGi - 04/2009
RESTful Services and Distributed OSGi - 04/2009RESTful Services and Distributed OSGi - 04/2009
RESTful Services and Distributed OSGi - 04/2009
 
CDI Integration in OSGi - Emily Jiang
CDI Integration in OSGi - Emily JiangCDI Integration in OSGi - Emily Jiang
CDI Integration in OSGi - Emily Jiang
 

Plus de mfrancis

Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...
Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...
Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...
mfrancis
 
How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...
How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...
How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...
mfrancis
 
Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...
Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...
Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...
mfrancis
 
Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...
Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...
Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...
mfrancis
 

Plus de mfrancis (20)

Eclipse Modeling Framework and plain OSGi the easy way - Mark Hoffman (Data I...
Eclipse Modeling Framework and plain OSGi the easy way - Mark Hoffman (Data I...Eclipse Modeling Framework and plain OSGi the easy way - Mark Hoffman (Data I...
Eclipse Modeling Framework and plain OSGi the easy way - Mark Hoffman (Data I...
 
OSGi and Java 9+ - BJ Hargrave (IBM)
OSGi and Java 9+ - BJ Hargrave (IBM)OSGi and Java 9+ - BJ Hargrave (IBM)
OSGi and Java 9+ - BJ Hargrave (IBM)
 
Simplify Web UX Coding using OSGi Modularity Magic - Paul Fraser (A2Z Living)
Simplify Web UX Coding using OSGi Modularity Magic - Paul Fraser (A2Z Living)Simplify Web UX Coding using OSGi Modularity Magic - Paul Fraser (A2Z Living)
Simplify Web UX Coding using OSGi Modularity Magic - Paul Fraser (A2Z Living)
 
OSGi for the data centre - Connecting OSGi to Kubernetes - Frank Lyaruu
OSGi for the data centre - Connecting OSGi to Kubernetes - Frank LyaruuOSGi for the data centre - Connecting OSGi to Kubernetes - Frank Lyaruu
OSGi for the data centre - Connecting OSGi to Kubernetes - Frank Lyaruu
 
Remote Management and Monitoring of Distributed OSGi Applications - Tim Verbe...
Remote Management and Monitoring of Distributed OSGi Applications - Tim Verbe...Remote Management and Monitoring of Distributed OSGi Applications - Tim Verbe...
Remote Management and Monitoring of Distributed OSGi Applications - Tim Verbe...
 
OSGi with Docker - a powerful way to develop Java systems - Udo Hafermann (So...
OSGi with Docker - a powerful way to develop Java systems - Udo Hafermann (So...OSGi with Docker - a powerful way to develop Java systems - Udo Hafermann (So...
OSGi with Docker - a powerful way to develop Java systems - Udo Hafermann (So...
 
A real world use case with OSGi R7 - Jurgen Albert (Data In Motion Consulting...
A real world use case with OSGi R7 - Jurgen Albert (Data In Motion Consulting...A real world use case with OSGi R7 - Jurgen Albert (Data In Motion Consulting...
A real world use case with OSGi R7 - Jurgen Albert (Data In Motion Consulting...
 
OSGi Feature Model - Where Art Thou - David Bosschaert (Adobe)
OSGi Feature Model - Where Art Thou - David Bosschaert (Adobe)OSGi Feature Model - Where Art Thou - David Bosschaert (Adobe)
OSGi Feature Model - Where Art Thou - David Bosschaert (Adobe)
 
Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...
Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...
Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...
 
OSGi CDI Integration Specification - Ray Augé (Liferay)
OSGi CDI Integration Specification - Ray Augé (Liferay)OSGi CDI Integration Specification - Ray Augé (Liferay)
OSGi CDI Integration Specification - Ray Augé (Liferay)
 
How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...
How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...
How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...
 
Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...
Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...
Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...
 
It Was Twenty Years Ago Today - Building an OSGi based Smart Home System - Ch...
It Was Twenty Years Ago Today - Building an OSGi based Smart Home System - Ch...It Was Twenty Years Ago Today - Building an OSGi based Smart Home System - Ch...
It Was Twenty Years Ago Today - Building an OSGi based Smart Home System - Ch...
 
Popular patterns revisited on OSGi - Christian Schneider (Adobe)
Popular patterns revisited on OSGi - Christian Schneider (Adobe)Popular patterns revisited on OSGi - Christian Schneider (Adobe)
Popular patterns revisited on OSGi - Christian Schneider (Adobe)
 
Integrating SLF4J and the new OSGi LogService 1.4 - BJ Hargrave (IBM)
Integrating SLF4J and the new OSGi LogService 1.4 - BJ Hargrave (IBM)Integrating SLF4J and the new OSGi LogService 1.4 - BJ Hargrave (IBM)
Integrating SLF4J and the new OSGi LogService 1.4 - BJ Hargrave (IBM)
 
OSG(a)i: because AI needs a runtime - Tim Verbelen (imec)
OSG(a)i: because AI needs a runtime - Tim Verbelen (imec)OSG(a)i: because AI needs a runtime - Tim Verbelen (imec)
OSG(a)i: because AI needs a runtime - Tim Verbelen (imec)
 
Flying to Jupiter with OSGi - Tony Walsh (ESA) & Hristo Indzhov (Telespazio V...
Flying to Jupiter with OSGi - Tony Walsh (ESA) & Hristo Indzhov (Telespazio V...Flying to Jupiter with OSGi - Tony Walsh (ESA) & Hristo Indzhov (Telespazio V...
Flying to Jupiter with OSGi - Tony Walsh (ESA) & Hristo Indzhov (Telespazio V...
 
MicroProfile, OSGi was meant for this - Ray Auge (Liferay)
MicroProfile, OSGi was meant for this - Ray Auge (Liferay)MicroProfile, OSGi was meant for this - Ray Auge (Liferay)
MicroProfile, OSGi was meant for this - Ray Auge (Liferay)
 
Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...
Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...
Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...
 
How to connect your OSGi application - Dirk Fauth (Bosch)
How to connect your OSGi application - Dirk Fauth (Bosch)How to connect your OSGi application - Dirk Fauth (Bosch)
How to connect your OSGi application - Dirk Fauth (Bosch)
 

Dernier

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Dernier (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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...
 
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
 

OSGi Community Event 2010 - A Crash Course in OSGi Application Development

  • 1. © IBM Corp, 2010 Tim Ward | IBM A crash course in OSGi application development
  • 2. © IBM Corp, 2010 A whistlestop tour • What do we mean by enterprise? • Enterprise 4.2 specs – Web Applications – JPA Service – JNDI Service – JTA Service • The blueprint component model • Apache Aries packaging • Live Demo!
  • 3. © IBM Corp, 2010 What do we mean by “Enterprise”? • My definition (marketing): – Mission critical – Large Scale – Return on investment • My definition (technical) – Reliable – Accessible – Legacy
  • 4. © IBM Corp, 2010 Web Applications (OSGi 4.2) • Support for Web Application Bundles – OSGi bundles that are also WARs – Servlet 2.5 support • Web-ContextPath header • Obeys Bundle-Classpath
  • 5. © IBM Corp, 2010 JPA Service (OSGi 4.2) • Support for Java SE unmanaged JPA – Meta-Persistence header • EntityManagerFactory services • Apache Aries uses the same header and service model for managed JPA – Aries Blueprint extensions provide JPA resource injection
  • 6. © IBM Corp, 2010 JNDI Service (OSGi 4.2) • Allows standard JNDI providers and clients to work unchanged in OSGi • The “osgi:” URL scheme allows JNDI access to the service registry – It even provides some dynamism
  • 7. © IBM Corp, 2010 JTA Service (OSGi 4.2) • Standardised access to – UserTransaction – TransactionSynchronizationRegistry • Aries provides blueprint extensions for declarative transactions – Container managed – Method level granularity
  • 8. © IBM Corp, 2010 OSGi Blueprint (OSGi 4.2) • A fine-grained dependency injection container – Manages service dynamics – Supports complex internal wirings • In Apache Aries blueprint is also the heart of the programming model
  • 9. © IBM Corp, 2010 Application Packaging • In OSGi the unit of deployment is the OSGi bundle – No overarching “Application” • In Aries we define an Enterprise Bundle Archive (EBA) – It contains metadata describing the application
  • 10. © IBM Corp, 2010 Application Packaging (2) • An EBA lists the “core content” – More bundles may be provisioned to provide dependencies • A bundle repository is used to locate bundles for provisioning – Bundles in the EBA can also be used • Once provisioned an application has fixed content
  • 11. © IBM Corp, 2010 Demo • A simple stock trading application – It spans two databases, the “market” and the “brokerage” • It uses: – A basic web front end – JPA – 2-phase container transactions – Blueprint – JNDI
  • 12. © IBM Corp, 2010 Questions? • Not much time now... • Find me at the IBM stand outside if you think of anything later – More demos of Apache Aries in Open Source and in WebSphere