TM                        TM Leverage OSGi in Java EE business       applications with JOnAS              Guillaume Sauthi...
AgendaI. Why building OSGi applications ?II.Why do we need Java EE ?III.Hybrid applicationsIV.Best of breed application se...
Why building OSGi applications ?●   Bundles are the building blocks    ●   Installable, removable, even updatable        ●...
Why building OSGi applications ?●   OSGi promotes a service oriented approach    ●   Services are registered under a contr...
Why building OSGi applications ?●   Multiple and diverses component models helps    to develop pure OSGi applications    ●...
Why do we need Java EE ?●   Java EE skills are widely known    ●   Large spectrum: from presentation to data layer        ...
Hybrid applications [1/2]●   Hybrid applications uses the best of the OSGi    and Java EE world    ●   Well known Java EE ...
Hybrid applications [2/2]●   OSGi based applications can also benefits from    Java EE components    ●   Servlets / HttpSe...
Best of breed application server [1/4]●   JOnAS is it-self built on top of OSGi    ●   Permits right sized execution platf...
Best of breed application server [2/4]●   As Java EE implementor, JOnAS is well suited    to provide the OSGi enterprise s...
Best of breed application server [3/4]●   JOnAS exposes the OSGi framework to the    Java EE applications    ●   OSGi serv...
Best of breed application server [4/4]●   JOnAS exposes the OSGi framework to the    Java EE applications    ●   EJB busin...
Conclusion●   Java EE programming model is here to stay    ●   Dont throw away your EJB in action books !●   OSGi is gradu...
Questions        ?     jonas.ow2.orgguillaume.sauthier@ow2.org        @sauthieg          OW2Con 2011, November 23-24, Oran...
Thanks●   http://www.flickr.com/photos/simonk/535063371●   http://www.flickr.com/photos/frank3/6053973411●   http://www.fl...
Upcoming SlideShare
Loading in...5
×

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

418

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
418
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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

  1. 1. TM TM Leverage OSGi in Java EE business applications with JOnAS Guillaume Sauthier, Bull SAS« Demonstrates how OSGiTM can helpbuilding business applications relying onan OSGiTM Application Server » OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  2. 2. AgendaI. Why building OSGi applications ?II.Why do we need Java EE ?III.Hybrid applicationsIV.Best of breed application server OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  3. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 13. Conclusion● Java EE programming model is here to stay ● Dont 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. 14. Questions ? jonas.ow2.orgguillaume.sauthier@ow2.org @sauthieg OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  15. 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.
  1. Gostou de algum slide específico?

    Recortar slides é uma maneira fácil de colecionar informações para acessar mais tarde.

×