Nuxeo Runtime 2: OSGi, Glassfish support, etc

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Nuxeo Runtime 2: OSGi, Glassfish support, etc - Presentation Transcript

    1. Nuxeo Runtime 2 recent and future work Bogdan Stefanescu |
    2. Overview ● What's Nuxeo Runtime? ● Requirements ● Components ● Extensions ● What's next? ● HK2 adoption ● Dependency injection ● More Annotations ● Hot Deployment ?
    3. What's Nuxeo Runtime? ● Nuxeo Runtime is the Nuxeo micro kernel. ● The foundation of all Nuxeo applications ● Nuxeo EP, Nuxeo RCP, Nuxeo WebEngine, Nuxeo Shell etc. ● Provides a modules subsystem ● OSGI compatible modules (aka bundles) ● Provides a component model ● Inspired from OSGI descriptive components ● Provides an extension point model ● Provides a service model
    4. Nuxeo Runtime - Requirements ● Nuxeo Runtime was designed to fulfill the following requirements: ● Applications are made from components. ● Be able to assemble new applications from specific set of components. ● Be able to add / remove components into an (optionally running) application. ● Be able to deploy and run modules in any OSGi framework. ● Provide an extension mechanism for components.
    5. Nuxeo Runtime - Components ● Modules are implemented as OSGi bundles ● A module may provide zero or more components ● Nuxeo Components are very similar to OSGi components ● Components are described through XML files. ● Components are declared in the module MANIFEST file ● Components provides zero or more services
    6. Nuxeo Runtime – Extensions ● Components may expose multiple extension points to let other components extend it ● Components may contribute any number of extensions to other components ● An Extension Point is an abstract concept ● You can see it as a registry of things ● Extensions are declared using XML ● XML fragments are mapped to real Java Objects and registered against the target extension point
    7. Nuxeo Runtime – Deployment
    8. Nuxeo Runtime – Extensibility Editors Actions Views Serializers MyExtensionPoint
    9. What's next? ● Rewriting Nuxeo Runtime on top of HK2 ● HK2 is the micro kernel of GlassFish v3 ● HK2 is very similar with Nuxeo Runtime ● HK2 cool features: ● Able to run in any OSGi framework ● Provide dependency injection through annotations ● Services are declared using annotations ● HK2 missing features: ● Extension Points are missing from HK2! :-(
    10. Nuxeo Runtime - HK2 ● How extension point issue can be solved? ● Already in contact with Sun HK2 developers ● We will contribute to HK2 an extension point mechanism ● Nuxeo Runtime will be an HK2 module ● That will add an extension points mechanism ● That will preserve compatibility with existing model ● Nuxeo Modules will still be packaged as OSGi bundles
    11. Nuxeo Runtime - Future So, what Nuxeo Runtime 2 will provide? ● OSGi compatible modules ● Extension Points declared through annotations ● Extensions declared as XML fragments ● Services declared through annotations ● Dependency injection through annotations ● No more XML to declare things ● Only pure configuration will be stored as XML ● An HK2 micro kernel
    12. Nuxeo Runtime – Is that all? ● ● ● ● Hot Deployment of Modules?
    13. Thank you!

    + Nuxeo - Open Source ECMNuxeo - Open Source ECM, 12 months ago

    custom

    1302 views, 0 favs, 3 embeds more stats

    Nuxeo Runtime, which enables to deploy Nuxeo’s co more

    More info about this document

    CC Attribution License

    Go to text version

    • Total Views 1302
      • 1227 on SlideShare
      • 75 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 42
    Most viewed embeds
    • 53 views on http://www.nuxeo.org
    • 21 views on http://www.nuxeo.com
    • 1 views on http://loire.nuxeo.com:8081

    more

    All embeds
    • 53 views on http://www.nuxeo.org
    • 21 views on http://www.nuxeo.com
    • 1 views on http://loire.nuxeo.com:8081

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories