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

Destaque

OpenCloudware The Cloud applicaton lifecycle management platform, OW2con'12, ...
OpenCloudware The Cloud applicaton lifecycle management platform, OW2con'12, ...OpenCloudware The Cloud applicaton lifecycle management platform, OW2con'12, ...
OpenCloudware The Cloud applicaton lifecycle management platform, OW2con'12, ...
OW2
 
Wildi 2009 Resume
Wildi 2009 ResumeWildi 2009 Resume
Wildi 2009 Resume
Wildi
 
Portland Front Yard Gardens
Portland Front Yard GardensPortland Front Yard Gardens
Portland Front Yard Gardens
gardenmam
 
OtaSizzle Platform for Technology Transfert
OtaSizzle Platform for Technology TransfertOtaSizzle Platform for Technology Transfert
OtaSizzle Platform for Technology Transfert
OW2
 
Paisajes De Serge Motylev
Paisajes De Serge MotylevPaisajes De Serge Motylev
Paisajes De Serge Motylev
alfcoltrane
 

Destaque (16)

OCCIware: Extensible and Standard-based XaaS Platform To Manage Everything in...
OCCIware: Extensible and Standard-based XaaS Platform To Manage Everything in...OCCIware: Extensible and Standard-based XaaS Platform To Manage Everything in...
OCCIware: Extensible and Standard-based XaaS Platform To Manage Everything in...
 
MODELS, a unified environment for the design of system applications on parall...
MODELS, a unified environment for the design of system applications on parall...MODELS, a unified environment for the design of system applications on parall...
MODELS, a unified environment for the design of system applications on parall...
 
OpenCloudware The Cloud applicaton lifecycle management platform, OW2con'12, ...
OpenCloudware The Cloud applicaton lifecycle management platform, OW2con'12, ...OpenCloudware The Cloud applicaton lifecycle management platform, OW2con'12, ...
OpenCloudware The Cloud applicaton lifecycle management platform, OW2con'12, ...
 
Manage Traceability with Apache Atlas flexible metadata repository.
Manage Traceability with Apache Atlas flexible metadata repository.Manage Traceability with Apache Atlas flexible metadata repository.
Manage Traceability with Apache Atlas flexible metadata repository.
 
TDC 2012 - Métricas de código na arquitetura
TDC 2012 - Métricas de código na arquiteturaTDC 2012 - Métricas de código na arquitetura
TDC 2012 - Métricas de código na arquitetura
 
Introducing Open Source School, the First Software Engineering School dedicat...
Introducing Open Source School, the First Software Engineering School dedicat...Introducing Open Source School, the First Software Engineering School dedicat...
Introducing Open Source School, the First Software Engineering School dedicat...
 
OW2con'14 - The CompatibleOne Story: from collaboration to industry
OW2con'14 - The CompatibleOne Story: from collaboration to industryOW2con'14 - The CompatibleOne Story: from collaboration to industry
OW2con'14 - The CompatibleOne Story: from collaboration to industry
 
Brita tester pol
Brita tester polBrita tester pol
Brita tester pol
 
Square update december 12
Square update december 12Square update december 12
Square update december 12
 
Wildi 2009 Resume
Wildi 2009 ResumeWildi 2009 Resume
Wildi 2009 Resume
 
Portland Front Yard Gardens
Portland Front Yard GardensPortland Front Yard Gardens
Portland Front Yard Gardens
 
OCEAN - support for Open Cloud projects, Yuri Glikman, Fraunhofer FOKUS
OCEAN - support for Open Cloud projects, Yuri Glikman, Fraunhofer FOKUSOCEAN - support for Open Cloud projects, Yuri Glikman, Fraunhofer FOKUS
OCEAN - support for Open Cloud projects, Yuri Glikman, Fraunhofer FOKUS
 
OtaSizzle Platform for Technology Transfert
OtaSizzle Platform for Technology TransfertOtaSizzle Platform for Technology Transfert
OtaSizzle Platform for Technology Transfert
 
CHOReVOLUTION project to facilitate cross-organization service integration
CHOReVOLUTION project to facilitate cross-organization service integrationCHOReVOLUTION project to facilitate cross-organization service integration
CHOReVOLUTION project to facilitate cross-organization service integration
 
Paisajes De Serge Motylev
Paisajes De Serge MotylevPaisajes De Serge Motylev
Paisajes De Serge Motylev
 
Pieces of release, how to make a puzzle - LibreOffice
Pieces of release, how to make a puzzle - LibreOfficePieces of release, how to make a puzzle - LibreOffice
Pieces of release, how to make a puzzle - LibreOffice
 

Semelhante a OSGi & JOnAS, OW2con11, Nov 24-25, Paris

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 OSGi & JOnAS, OW2con11, Nov 24-25, Paris (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 OW2

OW2 Association Européenne aux racines grenobloises, transformer l'industrie ...
OW2 Association Européenne aux racines grenobloises, transformer l'industrie ...OW2 Association Européenne aux racines grenobloises, transformer l'industrie ...
OW2 Association Européenne aux racines grenobloises, transformer l'industrie ...
OW2
 
Enabling DevOps for IoT software development, powered by Open Source, OW2onli...
Enabling DevOps for IoT software development, powered by Open Source, OW2onli...Enabling DevOps for IoT software development, powered by Open Source, OW2onli...
Enabling DevOps for IoT software development, powered by Open Source, OW2onli...
OW2
 

Mais de OW2 (20)

OW2 and RIOS teaming up to boost the open source impact, Nov. 2022 in Roma
OW2 and RIOS teaming up to boost the open source impact, Nov. 2022 in RomaOW2 and RIOS teaming up to boost the open source impact, Nov. 2022 in Roma
OW2 and RIOS teaming up to boost the open source impact, Nov. 2022 in Roma
 
The Open Source Good Governance Initiative presented at RIOS OS Week, Nov. 20...
The Open Source Good Governance Initiative presented at RIOS OS Week, Nov. 20...The Open Source Good Governance Initiative presented at RIOS OS Week, Nov. 20...
The Open Source Good Governance Initiative presented at RIOS OS Week, Nov. 20...
 
GLPi v.10, les fonctionnalités principales et l'offre cloud
GLPi v.10, les fonctionnalités principales et l'offre cloudGLPi v.10, les fonctionnalités principales et l'offre cloud
GLPi v.10, les fonctionnalités principales et l'offre cloud
 
Centreon: superviser le Cloud et le Legacy à partir d'une même plateforme, po...
Centreon: superviser le Cloud et le Legacy à partir d'une même plateforme, po...Centreon: superviser le Cloud et le Legacy à partir d'une même plateforme, po...
Centreon: superviser le Cloud et le Legacy à partir d'une même plateforme, po...
 
FusionIAM : la gestion des identités et des accés open source
FusionIAM : la gestion des identités et des accés open sourceFusionIAM : la gestion des identités et des accés open source
FusionIAM : la gestion des identités et des accés open source
 
OW2 Association Européenne aux racines grenobloises, transformer l'industrie ...
OW2 Association Européenne aux racines grenobloises, transformer l'industrie ...OW2 Association Européenne aux racines grenobloises, transformer l'industrie ...
OW2 Association Européenne aux racines grenobloises, transformer l'industrie ...
 
SFScon'20 Bringing the User into the Equation
SFScon'20 Bringing the User into the EquationSFScon'20 Bringing the User into the Equation
SFScon'20 Bringing the User into the Equation
 
Towards a sustainable solution to open source sustainability, OW2online20, Ju...
Towards a sustainable solution to open source sustainability, OW2online20, Ju...Towards a sustainable solution to open source sustainability, OW2online20, Ju...
Towards a sustainable solution to open source sustainability, OW2online20, Ju...
 
Advanced proactive and polymorphing cloud application adaptation with MORPHEM...
Advanced proactive and polymorphing cloud application adaptation with MORPHEM...Advanced proactive and polymorphing cloud application adaptation with MORPHEM...
Advanced proactive and polymorphing cloud application adaptation with MORPHEM...
 
Open Source governance and the Eclipse Foundation, OW2online, June 2020
Open Source governance and the Eclipse Foundation, OW2online, June 2020Open Source governance and the Eclipse Foundation, OW2online, June 2020
Open Source governance and the Eclipse Foundation, OW2online, June 2020
 
Open source contribution policies, OW2online, June 2020
Open source contribution policies, OW2online, June 2020Open source contribution policies, OW2online, June 2020
Open source contribution policies, OW2online, June 2020
 
Software development at scale, pandemic lockdown and oss ecosystems, OW2onlin...
Software development at scale, pandemic lockdown and oss ecosystems, OW2onlin...Software development at scale, pandemic lockdown and oss ecosystems, OW2onlin...
Software development at scale, pandemic lockdown and oss ecosystems, OW2onlin...
 
Overview of the OpenChain Reference Tooling Work Group, OW2online20, June 2020
Overview of the OpenChain Reference Tooling Work Group, OW2online20, June 2020Overview of the OpenChain Reference Tooling Work Group, OW2online20, June 2020
Overview of the OpenChain Reference Tooling Work Group, OW2online20, June 2020
 
Open Source Compliance at Orange, OW2online, June 2020
Open Source Compliance at Orange, OW2online, June 2020Open Source Compliance at Orange, OW2online, June 2020
Open Source Compliance at Orange, OW2online, June 2020
 
Ideas, methods and tools for OSS Compliance assessment, OW2online, June 2020
Ideas, methods and tools for OSS Compliance assessment, OW2online, June 2020Ideas, methods and tools for OSS Compliance assessment, OW2online, June 2020
Ideas, methods and tools for OSS Compliance assessment, OW2online, June 2020
 
Intelligent package management with FASTEN, OW2online, June 2020
Intelligent package management with FASTEN, OW2online, June 2020Intelligent package management with FASTEN, OW2online, June 2020
Intelligent package management with FASTEN, OW2online, June 2020
 
DECODER, a Smarter Environment for DevOps Teams , OW2online, June 2020
DECODER, a Smarter Environment for DevOps Teams , OW2online, June 2020DECODER, a Smarter Environment for DevOps Teams , OW2online, June 2020
DECODER, a Smarter Environment for DevOps Teams , OW2online, June 2020
 
Enabling DevOps for IoT software development, powered by Open Source, OW2onli...
Enabling DevOps for IoT software development, powered by Open Source, OW2onli...Enabling DevOps for IoT software development, powered by Open Source, OW2onli...
Enabling DevOps for IoT software development, powered by Open Source, OW2onli...
 
Upcoming Challenges in Artificial Intelligence Research and Development, OW2o...
Upcoming Challenges in Artificial Intelligence Research and Development, OW2o...Upcoming Challenges in Artificial Intelligence Research and Development, OW2o...
Upcoming Challenges in Artificial Intelligence Research and Development, OW2o...
 
Cacti and Big Data at Orange France, OW2online, June 2020
Cacti and Big Data at Orange France, OW2online, June 2020Cacti and Big Data at Orange France, OW2online, June 2020
Cacti and Big Data at Orange France, OW2online, June 2020
 

Último

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
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...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
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 New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
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
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

OSGi & JOnAS, OW2con11, Nov 24-25, Paris

  • 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.