SlideShare una empresa de Scribd logo
1 de 15
Descargar para leer sin conexión
TM                        TM
 Leverage OSGi in Java EE business
       applications with JOnAS

              Guillaume Sauthier, Bull SAS


« Demonstrates how OSGiTM can help
building business applications relying on
an OSGiTM Application Server »




                           OW2Con 2011, November 23-24, Orange Labs, Paris.
                                                             www.ow2.org.
Agenda

I. Why building OSGi applications ?

II.Why do we need Java EE ?

III.Hybrid applications

IV.Best of breed application server



                           OW2Con 2011, November 23-24, Orange Labs, Paris.
                                                             www.ow2.org.
Why building OSGi applications ?

●   Bundles are the building blocks
    ●   Installable, removable, even updatable
        ●   At runtime, dynamically
    ●   Enables application composition (right size)
    ●   Fine control on dependencies
        (package version, …)
        –   Control what you actually use
        –   Control what you want to expose
        –   Avoids « classpath hell »


                                OW2Con 2011, November 23-24, Orange Labs, Paris.
                                                                  www.ow2.org.
Why building OSGi applications ?

●   OSGi promotes a service oriented approach
    ●   Services are registered under a contract (API) in the
        service registry
        ➢   Loose coupling
    ●   Consumers require services using their contracts
        ●   No hard dependency on a given service provider
    ●   Services are dynamic
        ●   Can come and go at any time



                               OW2Con 2011, November 23-24, Orange Labs, Paris.
                                                                 www.ow2.org.
Why building OSGi applications ?

●   Multiple and diverses component models helps
    to develop pure OSGi applications
    ●   They still are inter-operable !
    ●   Shield developers from inherent
        programmation issues with services
        dynamism
●   Make your choice after tasting :)



                              OW2Con 2011, November 23-24, Orange Labs, Paris.
                                                                www.ow2.org.
Why do we need Java EE ?

●   Java EE skills are widely known
    ●   Large spectrum: from presentation to data layer
         –   Servlet, EJB, JPA
    ●   Data integrity
         –   Transaction (JTA)
    ●   Inter-operability
         –   With REST and SOAP
             (JAX-RS, JAX-WS)
         –   RMI/IIOP too (CORBA)


                                 OW2Con 2011, November 23-24, Orange Labs, Paris.
                                                                   www.ow2.org.
Hybrid applications [1/2]

●   Hybrid applications uses the best of the OSGi
    and Java EE world
    ●   Well known Java EE programming model
        –   Ease of development
    ●   A first glimpse at OSGi benefits
        –   Java EE components can use OSGi
            services
        –   Java EE components are exposed
            as OSGi services (EJB)



                              OW2Con 2011, November 23-24, Orange Labs, Paris.
                                                                www.ow2.org.
Hybrid applications [2/2]

●   OSGi based applications can also benefits from
    Java EE components
    ●   Servlets / HttpService
    ●   Data access layer
        –   Connection pooling
        –   JPA modeling
        –   Transactions support




                               OW2Con 2011, November 23-24, Orange Labs, Paris.
                                                                 www.ow2.org.
Best of breed application server [1/4]

●   JOnAS is it-self built on top of OSGi
    ●   Permits right sized execution platform definition
    ●   SOA principles applied to JOnAS technical services
        maximizing testability and overall quality
    ●   Different execution profiles can be defined
        –   Micro : only the kernel
        –   Full : All available services
        –   All the in-between profiles ...



                                  OW2Con 2011, November 23-24, Orange Labs, Paris.
                                                                    www.ow2.org.
Best of breed application server [2/4]

●   As Java EE implementor, JOnAS is well suited
    to provide the OSGi enterprise specifications :
    ●   HTTP Service (Servlet)
    ●   JDBC Service (Data access)
    ●   JTA Service (Transaction)
    ●   JNDI Service (Naming)
    ●   JCA Service (Connector / Resource Adapters)
    ●   JPA Service (High level data access)


                            OW2Con 2011, November 23-24, Orange Labs, Paris.
                                                              www.ow2.org.
Best of breed application server [3/4]

●   JOnAS exposes the OSGi framework to the
    Java EE applications
    ●   OSGi services available to Java EE components

    Java EE Module                                    OSGi Bundle



            EJB 3             Service           Implementation




                           OW2Con 2011, November 23-24, Orange Labs, Paris.
                                                             www.ow2.org.
Best of breed application server [4/4]

●   JOnAS exposes the OSGi framework to the
    Java EE applications
    ●   EJB business interfaces available to OSGi

    Java EE / OSGi Module                                 OSGi Bundle



             EJB 3          Service                    Consumer




                               OW2Con 2011, November 23-24, Orange Labs, Paris.
                                                                 www.ow2.org.
Conclusion

●   Java EE programming model is here to stay
    ●   Don't throw away your 'EJB in action' books !
●   OSGi is gradually becoming more and more
    important
    ●   Apps will benefits from modularity and dynamism




                            OW2Con 2011, November 23-24, Orange Labs, Paris.
                                                              www.ow2.org.
Questions




        ?
     jonas.ow2.org

guillaume.sauthier@ow2.org
        @sauthieg
          OW2Con 2011, November 23-24, Orange Labs, Paris.
                                            www.ow2.org.
Thanks
●   http://www.flickr.com/photos/simonk/535063371
●   http://www.flickr.com/photos/frank3/6053973411
●   http://www.flickr.com/photos/nicokaiser/6070196415/
●   http://www.flickr.com/photos/preppybyday/5084101811/
●   http://www.flickr.com/photos/ludovicpoitou/5185031866
●   http://www.flickr.com/photos/twak/3688809043/
●




                            OW2Con 2011, November 23-24, Orange Labs, Paris.
                                                              www.ow2.org.

Más contenido relacionado

Similar a Leverage OSGi in business application with JOnAS

JOnAS REST API for PaaS, OW2con11, Nov 24-25, Paris
JOnAS REST API for PaaS, OW2con11, Nov 24-25, ParisJOnAS REST API for PaaS, OW2con11, Nov 24-25, Paris
JOnAS REST API for PaaS, OW2con11, Nov 24-25, ParisOW2
 
JOnAS Addons and the deployment for PaaS and SaaS applications
JOnAS Addons and the deployment for PaaS and SaaS applicationsJOnAS Addons and the deployment for PaaS and SaaS applications
JOnAS Addons and the deployment for PaaS and SaaS applicationsFlorent BENOIT
 
JOnAS Addons, OW2con 2011, Nov 24-25, Paris
JOnAS Addons, OW2con 2011, Nov 24-25, ParisJOnAS Addons, OW2con 2011, Nov 24-25, Paris
JOnAS Addons, OW2con 2011, Nov 24-25, ParisOW2
 
Ocelot Project, OW2con11, Nov 24-25, Paris
Ocelot Project, OW2con11, Nov 24-25, ParisOcelot Project, OW2con11, Nov 24-25, Paris
Ocelot Project, OW2con11, Nov 24-25, ParisOW2
 
Crating Value with Open Source, OW2con11, Nov 24-25, Paris
Crating Value with Open Source, OW2con11, Nov 24-25, ParisCrating Value with Open Source, OW2con11, Nov 24-25, Paris
Crating Value with Open Source, OW2con11, Nov 24-25, ParisOW2
 
Open Source and Standardization
Open Source and StandardizationOpen Source and Standardization
Open Source and StandardizationOW2
 
Consistent service integration in your workflows with OW2 Scarbo 2.0, OW2con'...
Consistent service integration in your workflows with OW2 Scarbo 2.0, OW2con'...Consistent service integration in your workflows with OW2 Scarbo 2.0, OW2con'...
Consistent service integration in your workflows with OW2 Scarbo 2.0, OW2con'...OW2
 
OW2Con2012 Scarbo2 SOA-Consistent BPM
OW2Con2012 Scarbo2 SOA-Consistent BPMOW2Con2012 Scarbo2 SOA-Consistent BPM
OW2Con2012 Scarbo2 SOA-Consistent BPMMarc Dutoo
 
Create Dynamic console with OSGi and Adobe Flex
Create Dynamic console with OSGi and Adobe FlexCreate Dynamic console with OSGi and Adobe Flex
Create Dynamic console with OSGi and Adobe FlexFlorent BENOIT
 
ETICS- quality certification of open source cloud software, OW2con'12, Paris
ETICS- quality certification of open source cloud software, OW2con'12, ParisETICS- quality certification of open source cloud software, OW2con'12, Paris
ETICS- quality certification of open source cloud software, OW2con'12, ParisOW2
 
Cloud / Orange Cloud et OW2 Case study - Alexandre Lefebvre, Orange
Cloud / Orange Cloud et OW2 Case study - Alexandre Lefebvre, OrangeCloud / Orange Cloud et OW2 Case study - Alexandre Lefebvre, Orange
Cloud / Orange Cloud et OW2 Case study - Alexandre Lefebvre, OrangeParis Open Source Summit
 
OW2 Squat SONAR Qualipso, OW2con11, Nov 24-25, Paris
OW2 Squat SONAR Qualipso, OW2con11, Nov 24-25, ParisOW2 Squat SONAR Qualipso, OW2con11, Nov 24-25, Paris
OW2 Squat SONAR Qualipso, OW2con11, Nov 24-25, ParisOW2
 
Sirocco Open Source Multi Cloud Manager, OW2con11, Nov 24-25, Paris
Sirocco Open Source Multi Cloud Manager, OW2con11, Nov 24-25, ParisSirocco Open Source Multi Cloud Manager, OW2con11, Nov 24-25, Paris
Sirocco Open Source Multi Cloud Manager, OW2con11, Nov 24-25, ParisOW2
 
UShareSoft Software onboarding to cloud, OW2con11, Nov 24-25, Paris
UShareSoft Software onboarding to cloud, OW2con11, Nov 24-25, ParisUShareSoft Software onboarding to cloud, OW2con11, Nov 24-25, Paris
UShareSoft Software onboarding to cloud, OW2con11, Nov 24-25, ParisOW2
 
UShareSoft Software On-Boarding to cloud, OW2Con 2011, Nov 2011, Paris
UShareSoft Software On-Boarding to cloud, OW2Con 2011, Nov 2011, ParisUShareSoft Software On-Boarding to cloud, OW2Con 2011, Nov 2011, Paris
UShareSoft Software On-Boarding to cloud, OW2Con 2011, Nov 2011, ParisUShareSoft
 
Innovation in Open Source Business Inteligence
Innovation in Open Source Business Inteligence Innovation in Open Source Business Inteligence
Innovation in Open Source Business Inteligence OW2
 
GlassFish Server 3.1: Deploying your Java EE 6 Applications
GlassFish Server 3.1: Deploying your Java EE 6 ApplicationsGlassFish Server 3.1: Deploying your Java EE 6 Applications
GlassFish Server 3.1: Deploying your Java EE 6 ApplicationsArun Gupta
 
GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011Arun Gupta
 
OTLY: A framework for realtime collaboration
OTLY: A framework for realtime collaborationOTLY: A framework for realtime collaboration
OTLY: A framework for realtime collaborationXWiki
 
Service Oriented Applications in the Clouds with OW2 FraSCAti
Service Oriented Applications in the Clouds with OW2 FraSCAtiService Oriented Applications in the Clouds with OW2 FraSCAti
Service Oriented Applications in the Clouds with OW2 FraSCAtiphilippe_merle
 

Similar a Leverage OSGi in business application with JOnAS (20)

JOnAS REST API for PaaS, OW2con11, Nov 24-25, Paris
JOnAS REST API for PaaS, OW2con11, Nov 24-25, ParisJOnAS REST API for PaaS, OW2con11, Nov 24-25, Paris
JOnAS REST API for PaaS, OW2con11, Nov 24-25, Paris
 
JOnAS Addons and the deployment for PaaS and SaaS applications
JOnAS Addons and the deployment for PaaS and SaaS applicationsJOnAS Addons and the deployment for PaaS and SaaS applications
JOnAS Addons and the deployment for PaaS and SaaS applications
 
JOnAS Addons, OW2con 2011, Nov 24-25, Paris
JOnAS Addons, OW2con 2011, Nov 24-25, ParisJOnAS Addons, OW2con 2011, Nov 24-25, Paris
JOnAS Addons, OW2con 2011, Nov 24-25, Paris
 
Ocelot Project, OW2con11, Nov 24-25, Paris
Ocelot Project, OW2con11, Nov 24-25, ParisOcelot Project, OW2con11, Nov 24-25, Paris
Ocelot Project, OW2con11, Nov 24-25, Paris
 
Crating Value with Open Source, OW2con11, Nov 24-25, Paris
Crating Value with Open Source, OW2con11, Nov 24-25, ParisCrating Value with Open Source, OW2con11, Nov 24-25, Paris
Crating Value with Open Source, OW2con11, Nov 24-25, Paris
 
Open Source and Standardization
Open Source and StandardizationOpen Source and Standardization
Open Source and Standardization
 
Consistent service integration in your workflows with OW2 Scarbo 2.0, OW2con'...
Consistent service integration in your workflows with OW2 Scarbo 2.0, OW2con'...Consistent service integration in your workflows with OW2 Scarbo 2.0, OW2con'...
Consistent service integration in your workflows with OW2 Scarbo 2.0, OW2con'...
 
OW2Con2012 Scarbo2 SOA-Consistent BPM
OW2Con2012 Scarbo2 SOA-Consistent BPMOW2Con2012 Scarbo2 SOA-Consistent BPM
OW2Con2012 Scarbo2 SOA-Consistent BPM
 
Create Dynamic console with OSGi and Adobe Flex
Create Dynamic console with OSGi and Adobe FlexCreate Dynamic console with OSGi and Adobe Flex
Create Dynamic console with OSGi and Adobe Flex
 
ETICS- quality certification of open source cloud software, OW2con'12, Paris
ETICS- quality certification of open source cloud software, OW2con'12, ParisETICS- quality certification of open source cloud software, OW2con'12, Paris
ETICS- quality certification of open source cloud software, OW2con'12, Paris
 
Cloud / Orange Cloud et OW2 Case study - Alexandre Lefebvre, Orange
Cloud / Orange Cloud et OW2 Case study - Alexandre Lefebvre, OrangeCloud / Orange Cloud et OW2 Case study - Alexandre Lefebvre, Orange
Cloud / Orange Cloud et OW2 Case study - Alexandre Lefebvre, Orange
 
OW2 Squat SONAR Qualipso, OW2con11, Nov 24-25, Paris
OW2 Squat SONAR Qualipso, OW2con11, Nov 24-25, ParisOW2 Squat SONAR Qualipso, OW2con11, Nov 24-25, Paris
OW2 Squat SONAR Qualipso, OW2con11, Nov 24-25, Paris
 
Sirocco Open Source Multi Cloud Manager, OW2con11, Nov 24-25, Paris
Sirocco Open Source Multi Cloud Manager, OW2con11, Nov 24-25, ParisSirocco Open Source Multi Cloud Manager, OW2con11, Nov 24-25, Paris
Sirocco Open Source Multi Cloud Manager, OW2con11, Nov 24-25, Paris
 
UShareSoft Software onboarding to cloud, OW2con11, Nov 24-25, Paris
UShareSoft Software onboarding to cloud, OW2con11, Nov 24-25, ParisUShareSoft Software onboarding to cloud, OW2con11, Nov 24-25, Paris
UShareSoft Software onboarding to cloud, OW2con11, Nov 24-25, Paris
 
UShareSoft Software On-Boarding to cloud, OW2Con 2011, Nov 2011, Paris
UShareSoft Software On-Boarding to cloud, OW2Con 2011, Nov 2011, ParisUShareSoft Software On-Boarding to cloud, OW2Con 2011, Nov 2011, Paris
UShareSoft Software On-Boarding to cloud, OW2Con 2011, Nov 2011, Paris
 
Innovation in Open Source Business Inteligence
Innovation in Open Source Business Inteligence Innovation in Open Source Business Inteligence
Innovation in Open Source Business Inteligence
 
GlassFish Server 3.1: Deploying your Java EE 6 Applications
GlassFish Server 3.1: Deploying your Java EE 6 ApplicationsGlassFish Server 3.1: Deploying your Java EE 6 Applications
GlassFish Server 3.1: Deploying your Java EE 6 Applications
 
GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011
 
OTLY: A framework for realtime collaboration
OTLY: A framework for realtime collaborationOTLY: A framework for realtime collaboration
OTLY: A framework for realtime collaboration
 
Service Oriented Applications in the Clouds with OW2 FraSCAti
Service Oriented Applications in the Clouds with OW2 FraSCAtiService Oriented Applications in the Clouds with OW2 FraSCAti
Service Oriented Applications in the Clouds with OW2 FraSCAti
 

Más de Guillaume Sauthier (15)

Data Privacy, reprenez le contrôle
Data Privacy, reprenez le contrôleData Privacy, reprenez le contrôle
Data Privacy, reprenez le contrôle
 
La Grande Famille OAuth 2.0
La Grande Famille OAuth 2.0La Grande Famille OAuth 2.0
La Grande Famille OAuth 2.0
 
OW2 JASMINe
OW2 JASMINeOW2 JASMINe
OW2 JASMINe
 
#7 Migration
#7 Migration#7 Migration
#7 Migration
 
#6 Outils De Developpement
#6 Outils De Developpement#6 Outils De Developpement
#6 Outils De Developpement
 
#3 Nouveautes Deploiement Demarrage
#3 Nouveautes Deploiement Demarrage#3 Nouveautes Deploiement Demarrage
#3 Nouveautes Deploiement Demarrage
 
#0 Accueil
#0 Accueil#0 Accueil
#0 Accueil
 
#2 Architecture OSGi
#2 Architecture OSGi#2 Architecture OSGi
#2 Architecture OSGi
 
#11 Introduction JASMINe
#11 Introduction JASMINe#11 Introduction JASMINe
#11 Introduction JASMINe
 
#8 Tour des Consoles d'Administration
#8 Tour des Consoles d'Administration#8 Tour des Consoles d'Administration
#8 Tour des Consoles d'Administration
 
#9 Deploiement Complexe
#9 Deploiement Complexe#9 Deploiement Complexe
#9 Deploiement Complexe
 
#1 Introduction
#1 Introduction#1 Introduction
#1 Introduction
 
#12 et #13 Versioning et JaDOrT
#12 et #13 Versioning et JaDOrT#12 et #13 Versioning et JaDOrT
#12 et #13 Versioning et JaDOrT
 
OW2 Shelbie TC Presentation
OW2 Shelbie TC PresentationOW2 Shelbie TC Presentation
OW2 Shelbie TC Presentation
 
JOnAS 5.1 Application Server Profiles
JOnAS 5.1 Application Server ProfilesJOnAS 5.1 Application Server Profiles
JOnAS 5.1 Application Server Profiles
 

Último

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 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
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 productivityPrincipled Technologies
 
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 Scriptwesley chun
 
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 RobisonAnna Loughnan Colquhoun
 
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 Takeoffsammart93
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
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 WorkerThousandEyes
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
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...Miguel Araújo
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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 2024Rafal Los
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
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 textsMaria Levchenko
 
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 WorkerThousandEyes
 
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.pdfsudhanshuwaghmare1
 
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 2024The Digital Insurer
 
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...apidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 

Último (20)

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
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
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
 
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
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
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...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
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
 
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
 
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
 
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
 
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...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Leverage OSGi in business application with JOnAS

  • 1. TM TM Leverage OSGi in Java EE business applications with JOnAS Guillaume Sauthier, Bull SAS « Demonstrates how OSGiTM can help building business applications relying on an OSGiTM Application Server » OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 2. Agenda I. Why building OSGi applications ? II.Why do we need Java EE ? III.Hybrid applications IV.Best of breed application server OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 3. Why building OSGi applications ? ● Bundles are the building blocks ● Installable, removable, even updatable ● At runtime, dynamically ● Enables application composition (right size) ● Fine control on dependencies (package version, …) – Control what you actually use – Control what you want to expose – Avoids « classpath hell » OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 4. Why building OSGi applications ? ● OSGi promotes a service oriented approach ● Services are registered under a contract (API) in the service registry ➢ Loose coupling ● Consumers require services using their contracts ● No hard dependency on a given service provider ● Services are dynamic ● Can come and go at any time OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 5. Why building OSGi applications ? ● Multiple and diverses component models helps to develop pure OSGi applications ● They still are inter-operable ! ● Shield developers from inherent programmation issues with services dynamism ● Make your choice after tasting :) OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 6. Why do we need Java EE ? ● Java EE skills are widely known ● Large spectrum: from presentation to data layer – Servlet, EJB, JPA ● Data integrity – Transaction (JTA) ● Inter-operability – With REST and SOAP (JAX-RS, JAX-WS) – RMI/IIOP too (CORBA) OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 7. Hybrid applications [1/2] ● Hybrid applications uses the best of the OSGi and Java EE world ● Well known Java EE programming model – Ease of development ● A first glimpse at OSGi benefits – Java EE components can use OSGi services – Java EE components are exposed as OSGi services (EJB) OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 8. Hybrid applications [2/2] ● OSGi based applications can also benefits from Java EE components ● Servlets / HttpService ● Data access layer – Connection pooling – JPA modeling – Transactions support OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 9. Best of breed application server [1/4] ● JOnAS is it-self built on top of OSGi ● Permits right sized execution platform definition ● SOA principles applied to JOnAS technical services maximizing testability and overall quality ● Different execution profiles can be defined – Micro : only the kernel – Full : All available services – All the in-between profiles ... OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 10. Best of breed application server [2/4] ● As Java EE implementor, JOnAS is well suited to provide the OSGi enterprise specifications : ● HTTP Service (Servlet) ● JDBC Service (Data access) ● JTA Service (Transaction) ● JNDI Service (Naming) ● JCA Service (Connector / Resource Adapters) ● JPA Service (High level data access) OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 11. Best of breed application server [3/4] ● JOnAS exposes the OSGi framework to the Java EE applications ● OSGi services available to Java EE components Java EE Module OSGi Bundle EJB 3 Service Implementation OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 12. Best of breed application server [4/4] ● JOnAS exposes the OSGi framework to the Java EE applications ● EJB business interfaces available to OSGi Java EE / OSGi Module OSGi Bundle EJB 3 Service Consumer OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 13. Conclusion ● Java EE programming model is here to stay ● Don't throw away your 'EJB in action' books ! ● OSGi is gradually becoming more and more important ● Apps will benefits from modularity and dynamism OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 14. Questions ? jonas.ow2.org guillaume.sauthier@ow2.org @sauthieg OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 15. Thanks ● http://www.flickr.com/photos/simonk/535063371 ● http://www.flickr.com/photos/frank3/6053973411 ● http://www.flickr.com/photos/nicokaiser/6070196415/ ● http://www.flickr.com/photos/preppybyday/5084101811/ ● http://www.flickr.com/photos/ludovicpoitou/5185031866 ● http://www.flickr.com/photos/twak/3688809043/ ● OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.