• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Virgo 3.0 from OSGi Community Event 2011 at Darmstadt
 

Virgo 3.0 from OSGi Community Event 2011 at Darmstadt

on

  • 972 views

What's new in Virgo 3.0 with a focus on Regions for greater modularity and Snaps for breaking up web apps. www.eclipse.org/virgo

What's new in Virgo 3.0 with a focus on Regions for greater modularity and Snaps for breaking up web apps. www.eclipse.org/virgo

Statistics

Views

Total Views
972
Views on SlideShare
971
Embed Views
1

Actions

Likes
0
Downloads
10
Comments
0

1 Embed 1

https://twitter.com 1

Accessibility

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Virgo 3.0 from OSGi Community Event 2011 at Darmstadt Virgo 3.0 from OSGi Community Event 2011 at Darmstadt Presentation Transcript

      • Virgo 3.0 What's New!
        Christopher Frost SpringSource, a division of VMware 21 st September 2011
        OSGi Alliance Marketing © 2008-2010 . All Rights Reserved
        Page
    • Agenda
      • Extra Modular with Regions
      • Virgo 3.0 – What New
      • Snaps
      • Virgo & OSGi Tooling
      • Coming Soon
      • Questions
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Regions – Background
      • Module granularity: Class, Bundle, ?
      • Need higher level scoping construct than a bundle
      • Simpler management of large applications
      • [see Subsystems RFC 152 for more background]
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Regions – Scoping in Virgo
      • Region scoping - Kernel Space vs User Space
      • Application scoping
        • PARs and scoped Plans
        • Metadata rewriting for bundle/package scoping
        • Service registry hooks for service scoping
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Regions – Composite Bundles & Nested Frameworks
      • Idea to make a group of bundles like a single bundle
      • Explored by OSGi
      • Prototyped in Equinox
      • Exploited in Virgo 2.1.x
      • Difficulty standardising in a framework neutral way
      • Spec [RFC 138] replaced by framework hooks
      • Equinox prototype deprecated
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Regions – Framework Hooks
      • Resolver hook, bundle find/event hooks [see R4.3 core spec for details]
      • Similar to service registry find/event hooks which do the same for services
      • Control the visibility of bundles, packages, generic capabilities
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Regions – Hook Usability
      • Service Find and Event hooks
      • Bundle Resolver, Find and Event hooks
      • Hard to ensure consistent behaviour across hooks
      • Need higher level abstraction
      • Region digraph
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Regions – Region Digraph
      • A directed graph of "regions"
      • A region is a group of bundles
      • Regions may be connected by directed arcs
      • Each directed arc has a filter which controls visibility:
        • bundles
        • packages
        • services
        • generic capabilities
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Regions – Region Digraph
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Regions – Region Digraph
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Regions – Region Digraph (cont.)
      • Developed as part of Virgo
      • Formal model in Z
      • Seen to be useful outside Virgo
      • Moved to Equinox
      • Used by Virgo 3.0
      • Likely to be used by Apache Aries
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Regions & Subsystems
      • OSGi standard multi-bundle scoping mechanism
      • Work in progress (Grahams Talk earlier), public draft soon
      • Inspired by
        • Virgo regions & scopes
        • Apache Aries applications
        • Apache Felix Karaf features
        • Newton systems
        • Eclipse features
        • Deployment Admin deployment packages
      • Virgo likely to implement subsystems in a future release
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Virgo 3.0 – Regions
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Virgo 3.0 – What's new
      • Snaps gets its first release
      • Servlet 3.0 with Tomcat 7.x
      • Gemini.Web, strict compliance to OSGi web container spec
      • Jetty version
      • Regions have replaced Nested Frameworks
      • New Shell based on Apache GoGo
      • Updated sample application, Greenpages
      • Spring 3.0.5.RELEASE & Equinox Indigo
      • Declarative Service & Log Service support
      • Lots of Bugfixes etc...
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Virgo 3.0 – Demo
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Snaps – Modular Web Apps
      • Some features tidied up
      • Documentation written
      • Single sample app showing everything Snaps can do
      • All available in a Zip from the Virgo website
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Snaps – Basics
      • Lots of Snaps (Web Application Bundles)
      • Snaps have the hosts ServletContext
      • Uses a filter to dispatch requests from the host
      • Everything else is business as normal
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Snaps – Nested Context Paths /app/orders /app/billing
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Snaps – A filter for Snaps
      • Still just web.xml
      • Define the subpath for Snaps with a filter
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Snaps – Manifest
      • Attaching Snaps to hosts
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Snaps – Taglibs
      • JSP tag to look up slices & their properties
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Snaps – Host Properties
      • Looking up resources & properties from the host
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Snaps – Demo
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Virgo Tooling
      • Donated to Eclipse Virgo and Libra
      • Tooling - 1 st milestone, lots still changing
      • The Dependency on STS/Spring IDE is going
      • Bundlor – Manifest generation tool
      • To have a play, see http://wiki.eclipse.org/Virgo/Tooling
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Virgo Future
      • New Web Admin Console
      • P2 integration
      • Subsystems
      • Tooling
      • Cloud
      • ???
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page
    • Questions
        OSGi Alliance Community Event 2011© 2008-2011. All Rights Reserved
        Page