Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Using plugins in web application context
Using plugins in web application context [message #81706] Sun, 21 January 2007 18:44 Go to next message
Eclipse UserFriend
Originally posted by: wilmot.tut.by

Hi,

I'm new to Equinox and OSGi and trying to grasp how they fit into J2EE web application model.
At the moment I'm concerned with deployment issue: is there any machinery to make classes from plugins visible to web application? I mean here some Equinox facility but not typical ways of doing this, like placing plugins into WEB-INF/lib or adding references to manifest. I guess the latter ones are not very appropriate.
Assuming that I already have web application, how do I get access to classes contained in platform/plugins?
Re: Using plugins in web application context [message #81753 is a reply to message #81706] Tue, 23 January 2007 04:49 Go to previous message
Eclipse UserFriend
Originally posted by: skaegi.sympatico.ca

Hi,

when you're embedding equinox in a web application the class loader
visibility "can" allow Equinox to see the classes in the web application but
not vice-versa.
If you want to setup a communication channel this means that you'll have to
do it via a shared class from the webapp.
The servletbridge handles the setting up of the communication for the
Servlet API and certainly the same approach can be imitated for a different
interface however it's a bit of work. A generic communication channel.is a
possibility and might be a good incubator project however nothing is
currently in the works.

If you're still interested I'd suggest trying the quickstarts and a few
samples here (http://www.eclipse.org/equinox/server/) and then getting
familiar with the servletbridge projects.

HTH
-Simon

"wilmot" <wilmot@tut.by> wrote in message
news:ep0cep$qra$1@utils.eclipse.org...
> Hi,
>
> I'm new to Equinox and OSGi and trying to grasp how they fit into J2EE web
application model.
> At the moment I'm concerned with deployment issue: is there any machinery
to make classes from plugins visible to web application? I mean here some
Equinox facility but not typical ways of doing this, like placing plugins
into WEB-INF/lib or adding references to manifest. I guess the latter ones
are not very appropriate.
> Assuming that I already have web application, how do I get access to
classes contained in platform/plugins?
Previous Topic:Start DS from command line
Next Topic:Running Equinox with Java 1.3
Goto Forum:
  


Current Time: Fri Apr 26 14:29:10 GMT 2024

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

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

Back to the top