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

Mais conteúdo relacionado

Semelhante 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, Paris
OW2
 
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
OW2
 
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
OW2
 
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
OW2
 
Open Source and Standardization
Open Source and StandardizationOpen Source and Standardization
Open Source and Standardization
OW2
 
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
OW2
 
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
OW2
 
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
OW2
 
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
UShareSoft
 
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 Applications
Arun Gupta
 
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
philippe_merle
 

Semelhante 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
 

Mais de Guillaume Sauthier

JOnAS 5.1 Application Server Profiles
JOnAS 5.1 Application Server ProfilesJOnAS 5.1 Application Server Profiles
JOnAS 5.1 Application Server Profiles
Guillaume Sauthier
 

Mais 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

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
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...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
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)
 
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
 
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
 

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.