OSGi for the earthlings:                      meet eclipse libra                      Naci Dai (@nacidai)eteration
Human                                            OSGi?                         nature?   Rounded  Pointed    Ears         ...
Five Levels of OSGi (Alex Blewit)         Can’t possibly work               Cannot see my class                       why ...
JavaEE: If the shoe does not fit    Tightly coupled      hardwired    Not Dynamic      Restarts with every deploy    ...
OSGi The New Java Enterprise   The fictional version       Web               JPA            Modules                       ...
OSGi Enterprise Applications    OSGi programming model        Proven, standards-based        Dynamic        Modular   ...
Enterprise OSGi                  Hello Client App   Hello Server AppSubsystems                                            ...
OSGi Tools                           • Too many/Not enough tools                                        • Different Philos...
Meet Eclipse Libra    Tools for OSGi Enterprise Development                                             WTP              ...
Libra Tools Scope             Frameworks             Standards & Technologies                      Aries             Bluep...
What is in the Juno Release    OSGi Bundle Facet                  Framework Editor                                      ...
Bundle Projects    OSGi Bundle Facet      PDE / WTP project types      Versioned    Tools can add more     behaviorete...
Framework Adapters    Vanilla OSGi Frameworks      Eclipse Equinox, Apache       Felix, Knopflerfish    Eclipse RT (wit...
BundleOverview    Part of framework Editor      List and control all bundleseteration
Bundle Dependency View    Graphical representation of bundle dependencies      Drill-downseteration
Server Console    Similar to console shellseteration
Bundle Repository Browser    (Virgo) Resolves bundles from OBRs      Spring Enterprise Bundle Repositoryeteration
War Products   •   Equinox running in a JavaEE server in bridged mode   •   Add your plugins to a Product Definition that ...
demo(s)   You can watch the Video tutorials online...   http://www.eclipse.org/libra/documentation/video/      Launchers a...
Resources    http://eclipse.org/libra    Contact       Twitter: @nacidai       Email:   naci@eteration.cometeration
Upcoming SlideShare
Loading in …5
×

EclipseCON2012 - Enterprise OSGi for Earthlings: Meet Eclipse Libra

1,496
-1

Published on

Eclipse Libra (www.eclipse.org/libra) provides standard tools for OSGi Enterprise application development, particularly tools that integrate the existing WTP and PDE tooling so that OSGi Enterprise applications can be developed with both toolings at the same time. Libra will bring the well-known WTP development methodologies to OSGi development, enabling "regular" Java developers to develop OSGi applications.

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

No Downloads
Views
Total Views
1,496
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
17
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

EclipseCON2012 - Enterprise OSGi for Earthlings: Meet Eclipse Libra

  1. 1. OSGi for the earthlings: meet eclipse libra Naci Dai (@nacidai)eteration
  2. 2. Human OSGi? nature? Rounded Pointed Ears Ears Fully supported by USS Enterprise Eclipse PDE / WTP http://xeobits.com/internet/humor-internet/2-cents-for- programmers-funny-one/eteration
  3. 3. Five Levels of OSGi (Alex Blewit) Can’t possibly work Cannot see my class why this uses constraint How do I load a JDBC driver? Bundle Enlightenment OSGi is written by IBM? ClassNotFoundException? It fails How can I map JNDI Declarative services I don’t use Eclipse is there Can’t we start the services references to data sources? Remote Services These classes are the same in order My custom Log4J logger OSGi is too complex Dynamically update code on but aren’t? Works on Equinox but not does not work? servers javax.swing is not there Felix Write a Manifest manually? Tweets about OSGiDenial Acceptance Anger Bargaining Depression hibernate is not working? Let there be a Stack Is there a bundle for Apache Overflow answer for Beanutils NoClassDefFoundError ... • resolution:=optional, please just starteteration
  4. 4. JavaEE: If the shoe does not fit  Tightly coupled  hardwired  Not Dynamic  Restarts with every deploy  Isolation  No sharing  Common libraries etc. xflickrx, Flickr Creative Commons  Version conflicts  Hierarchical class-loadingeteration
  5. 5. OSGi The New Java Enterprise The fictional version Web JPA Modules Subsystems, WABs, JPA, Blueprint, Na ming, … Transa JNDI Dynamic Services ctions Java EE Goodies + OSGi = OSGi Enterprise Goodieseteration
  6. 6. OSGi Enterprise Applications  OSGi programming model  Proven, standards-based  Dynamic  Modular  Manageable  Ubiquitous  Evolvable  Enterprise Infrastructure  Persistence, Transactions, Distributed, Management, Namin g, … A whole new generation of Enterprise Applicationseteration
  7. 7. Enterprise OSGi Hello Client App Hello Server AppSubsystems bundle& Services dynamic(.ssa archives) subsystemsTarget GeminiFrameworks Eclipse Equinox Apache Felixeteration
  8. 8. OSGi Tools • Too many/Not enough tools • Different Philosophies • OSGi Transparent  Development Tools • Generate Manifests • OSGi Frameworks are tricky  Eclipse Libra • Launching  Eclipse PDE • Installing  Eclipse WTP • Etc.  Eclipse Virgo Tools  BndTools  IBM Rational Development Tools for OSGi Applications  Silent, still alive???  Builds  Maven Tycho  PDE Buildseteration
  9. 9. Meet Eclipse Libra  Tools for OSGi Enterprise Development WTP PDE Toolseteration
  10. 10. Libra Tools Scope Frameworks Standards & Technologies Aries Blueprint Virgo OSGi JPA EclipseLink Jetty Subsystems OBR JavaEE IN Gemini Felix Web Equinox Tomcat Declarative Services WebSphere(Liberty) PARs EABs OUT uJOnAS WebLogiceteration
  11. 11. What is in the Juno Release  OSGi Bundle Facet  Framework Editor  Refactoring from Virgo Tools  WAR Products  Server Console  OSGi Framework Adapters  Bundle Overview  Adapted from WTP servers  Dependency Graphs  Launch configurations  PROVISIONAL  Support for Apache  Bundle Projects Felix, Eclipse Equinox and Knopflerfish  Manifest Editor  Gemini / Apache Aries  Virgo tools not yet ported!  Manifest Editor / OBR / Adapter / Blueprint Editoreteration
  12. 12. Bundle Projects  OSGi Bundle Facet  PDE / WTP project types  Versioned  Tools can add more behavioreteration
  13. 13. Framework Adapters  Vanilla OSGi Frameworks  Eclipse Equinox, Apache Felix, Knopflerfish  Eclipse RT (with above)  Gemini  Virgo  EclipseLink  Jetty  …  Apache Aries (with above)eteration
  14. 14. BundleOverview  Part of framework Editor  List and control all bundleseteration
  15. 15. Bundle Dependency View  Graphical representation of bundle dependencies  Drill-downseteration
  16. 16. Server Console  Similar to console shellseteration
  17. 17. Bundle Repository Browser  (Virgo) Resolves bundles from OBRs  Spring Enterprise Bundle Repositoryeteration
  18. 18. War Products • Equinox running in a JavaEE server in bridged mode • Add your plugins to a Product Definition that exports a WAR file • Includes all necessary plugins and deployment files (web.xml)eteration
  19. 19. demo(s) You can watch the Video tutorials online... http://www.eclipse.org/libra/documentation/video/ Launchers and Declerative Services Gemini Web Http Service and WAR Productseteration
  20. 20. Resources  http://eclipse.org/libra  Contact Twitter: @nacidai Email: naci@eteration.cometeration
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×