osgiapplication-servereclipse-virgo

Is there other a way to deploy virgo-compatible bundles to other application servers?


I am developing bundles in Eclipse Virgo, but I have faced customers in the past who insist on using a specific application server such as WebLogic. Is there a way to use OSGi on every Java EE appliction server?


Solution

  • Currently, no. Some application servers — such as Virgo, Glassfish, IBM Websphere etc — directly support OSGi deployment, but they support it in different ways. Other application servers have no built-in support for OSGi.

    However even in application servers with no OSGi support, it is possible to embed OSGi within a traditional Java EE deployment artifact such as a WAR or EAR file. Some example code for embedding OSGi is shown in a blog post I wrote some time ago.