Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » how are the javax.servlet libraries visible?
how are the javax.servlet libraries visible? [message #81842] Thu, 25 January 2007 04:30 Go to next message
Simon Chen is currently offline Simon ChenFriend
Messages: 10
Registered: July 2009
Junior Member
When embedding Equinox in a servlet container (as in the servletbridge
example), how do the bundles inside OSGi framework get visibility
topackages such as javax.servlet and javax.servlet.http?

Are these packages contained in a utility bundle inside Equinox? Or are
they exposed from the parent servlet container?

If it's the second case, are packages from the servlet container exposed
to bundles inside Equinox via a "framework" extension bundle?
Re: how are the javax.servlet libraries visible? [message #81887 is a reply to message #81842] Thu, 25 January 2007 13:09 Go to previous message
Eclipse UserFriend
Originally posted by: skaegi.sympatico.ca

Hi Simon,

You've got it.
javax.servlet and javax.servlet.http (and org.eclipse.equinox.servletbridge)
come from the webapp class loader and are exposed via framework extension
bundle. The extension bundles in this case are empty (other than the
manifest) since they're just declaring the availability of packages for
import.
In the case of the servletbridge, the extension bundle is generated in
FrameworkLauncher.deployExtensionBundle.

-Simon


"Simon" <kungfubuda@gmail.com> wrote in message
news:ep9bpu$vbr$1@utils.eclipse.org...
> When embedding Equinox in a servlet container (as in the servletbridge
> example), how do the bundles inside OSGi framework get visibility
> topackages such as javax.servlet and javax.servlet.http?
>
> Are these packages contained in a utility bundle inside Equinox? Or are
> they exposed from the parent servlet container?
>
> If it's the second case, are packages from the servlet container exposed
> to bundles inside Equinox via a "framework" extension bundle?
Previous Topic:loading other classes with equinox in servlet container
Next Topic:plug-ins, extension points and services?
Goto Forum:
  


Current Time: Fri Apr 26 20:27:44 GMT 2024

Powered by FUDForum. Page generated in 0.02814 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top