Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Virgo/Future

< Virgo
Revision as of 10:11, 24 September 2010 by Gnormington.vmware.com (Talk | contribs) (Jetty Support)



This page summarises the Virgo plan and notes design ideas for future Virgo features.

Virgo Plan

The following plan is subject to change and depends on how much resource is available as the project evolves.

2.1.0 Release

Theme: migration from SpringSource dm Server 2.0.x.

Schedule: October 2010

Content:

  • Contribute to Eclipse and address IP issues
  • Startup performance improvement (as described in this blog, bug 315162 is a separate improvement)
  • Upgrade Logback to 0.9.24 (bug 312209)
  • Upgrade Equinox to 3.6.0 (bug 323270)
  • Upgrade Tomcat to 6.0.29 (bug 319395)
  • Critical bug fixes

2.5 or 3.0 Release

Theme: Eclipse RT integration

Schedule: June 2011

Content:

  • Jetty support (bug 321726)
  • Use Equinox config admin instead of that of Felix (bug 310217)
  • Use Equinox log service instead of that of Felix (bug 310218)
  • Use Equinox event admin instead of that of Felix (bug 310219)
  • Upgrade Spring to 3.0.4 or later (bug 314282)
  • Critical bug fixes

Future Releases

The following features are not currently in plan:

  • Integration server
  • Batch server
  • p2 repository in the repository chain (bug 309778)
  • Rebase region support on OSGi RFC138
  • Upgrade from Spring DM to Gemini Blueprint (bug 317943)
  • Admin console administration of remote Virgo instances
  • Multiple user regions
  • Tomcat 7/servlet 3.0

Future Features

Jetty Support

This is covered by bug 321726.

The Tomcat-based Virgo Web Server integrates Gemini Web on top of the Virgo kernel. Jetty support should probably integrate Jetty on top of the Virgo kernel.

Ideally this will allow arbitrary versions of Jetty to be swapped in. We need to make sure that any Jetty APIs we use are stable (will continue to work as Jetty evolves).

Bootstrapping Jetty

Jetty already supports bootstrapping inside OSGi. The Jetty bootstrapping bundle 'org.eclipse.jetty.osgi.boot' can easily be included in the list of initial artifacts automatically deployed into the user region during Virgo startup.

Deploying Web Bundles

Jetty already supports deployment of OSGi web applications.

After Jetty is bootstrapped in the OSGi framework, web bundles may be deployed directly to Jetty using the whiteboard pattern.

A ContextHandler service must be registered with appropriate service properties. Presumably the bundle registering the service is the web bundle itself, although this is not clear from the Jetty documentation above which refers to the registering bundle as a 'contributor'. It is not clear whether the contributor is a bundle which is contributing some other web bundle or whether the contributor is the web bundle itself (in which case why should it be called 'contributor'?).

Assuming that the contributor is the web bundle itself, Virgo will need to create a ContextHandler service each time a web bundle starts.

If deployment of the web application fails, the failure must be reported back on the thread which initiated deployment. A problem with the whiteboard pattern is that errors are not easily detected. Perhaps Jetty provides some way to listen for successful or failed deployment of a particular web bundle?

Deploying WAR Files

Jetty supports deploying WAR files by installing the WAR file as a bundle using the "war:" URL scheme. However, Virgo supports deploying WAR files via all its standard deployment mechanisms which ultimately drive the deployer API. We could either drive installation using the "war:" scheme or, for consistency with Virgo's existing support for WARs including the way errors are detected and handled, we could continue to transform WARs into web bundles using the transformation support in Gemini Web or similar.

Class Loading

Need to ensure correct class loading and resource lookup in the single bundle case as well as the case of a web bundle inside a scoped plan.

Need to support class loader customisation, throw-away class loaders, etc. as in the current Virgo web support.

Logging

Need to ensure Jetty's logs feed in to the appropriate Virgo Medic logs.

Also need to support per-application logging.

Back to the top