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

Contenu connexe

Similaire à 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 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011Arun Gupta
 
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
 
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
 

Similaire à 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 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011
 
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
 
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
 

Plus 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
 

Dernier

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 

Dernier (20)

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 

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.