OSGi , Spring OSGi and the server-side. Part 4

Now , I want to tell you about server-side of OSGi technology.
Nowadays, better support of server-side gives Eclipse Equinox OSGi framework.

From a code point of view, Equinox is an implementation of the OSGi
R4 core framework specification
, a set of bundles that implement various optional OSGi services and other infrastructure for running OSGi-based systems.


More generally, the goal of the Equinox project is to be a first class OSGi community and foster the vision of Eclipse as a landscape of bundles. As part of this, it is responsible for developing and delivering the OSGi framework implementation used for all of Eclipse. In addition. the project is open to:


  • Implementation of all aspects of the OSGi specification (including the MEG and VEG work)

  • Investigation and research related to future versions of OSGi specifications and related runtime issues

  • Development of non-standard infrastructure deemed to be essential to the running and management of OSGi-based systems
  • Implementation of key framework services and extensions needed for running Eclipse (e.g., the Eclipse Adaptor, Extension registry) and deemed generally useful to people using OSGi.


Server-Side Equinox


Equinox can be used on the server to serve up static content and to run servlets or JSPs. In each of these cases you need to setup an HTTP server and then configure it with the appropriate content. There are two basic ways of running an HTTP server in Equinox;



Follow the steps for the configuration best suited to your scenario then return here to write your bundle based web application.


HintEmbed a server in Equinox is the easiest configuration to setup and run. This will allow you to do all your development and debugging. Only when you go to production or in special circumstances will you need to embed Equinox in an existing servlet container.

Posted byEugene at 05:01

1 comments:

Chris Brind said... 26 December 2007 at 13:45  

Hi, just wanted to let you know your links are wrong. They go to Eclispe.org rather than Eclipse.org

Regards,
Brindy

Post a Comment