Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] osgi runtime, how to Alternate Runtimes


Everything is possible :-) However I've never tried. You can easily change the classloader parentage so that you can see the classloader from your webapp. Regarding url handlers, you can use the regular java mechanism as long as you don't want to uninstall them.
However it is probably simpler to run a web container on top of osgi (actually osgi has an http server - we don't have an implementation of it), and deploy your components as bundles so you can get replaceability (given that the server release the resources properly).

PaScaL




Dorian Birsan/Toronto/IBM@IBMCA
Sent by: eclipse-dev-admin@xxxxxxxxxxx

04/02/2004 11:18 AM

Please respond to
eclipse-dev

To
eclipse-dev@xxxxxxxxxxx
cc
Subject
Re: [eclipse-dev] osgi runtime, how to Alternate Runtimes






Pascal, is it possible at all to run eclipse as part of a webapp on an external app server? Are there workarounds for the url stream handlers and class loaders?


-Dorian



Pascal Rapicault/Ottawa/IBM@IBMCA
Sent by: eclipse-dev-admin@xxxxxxxxxxx

04/02/2004 10:44 AM

Please respond to
eclipse-dev

To
eclipse-dev@xxxxxxxxxxx
cc
Subject
Re: [eclipse-dev] osgi runtime, how to Alternate Runtimes








This week or last week, I've seen some post on the equinox newsgroup where people did something similar to what you are trying to achieve (The difference is that they ran their app server within eclipse). They even offered to give their code.


PaScaL


sg@xxxxxxxxxxxxxxx
Sent by: eclipse-dev-admin@xxxxxxxxxxx

04/02/2004 09:51 AM

Please respond to
eclipse-dev


To
eclipse-dev@xxxxxxxxxxx
cc
Subject
[eclipse-dev] osgi runtime, how to Alternate Runtimes









Hi,

sorry in case i sound a little bit nervous, since weeks i try to find out how to use the new osgi runtime
to implement a jmx based runtime so i can use eclipse RCP _inside_ an application server to access ejbs
in the same vm. I feel the osgi stuff was very hyped.

All blog entries in the web say the same, the new osgi runtime is cool but to less documented.
Well i'm agree and since weeks there is still one line documentation "In progress..."
Especially for alternate Runtime there is just nothing then the summaries. ;-o My questions in the
mailing list or forum of equinox wasn't answered. As well i was reading the code, but there are for
example two IPlatformRunnable with different java doc and i found as well comments like

// TODO clarify the javadoc below.  Copy the signatures from Platform.
// talk to jeem about the best way to do the triplication

So the code reading confuse me a lot and i'm still haven't any idea how to do my job.


So please please please is there someone that can give any hint what kind of Interfaces i have to
implement to realize an alternative eclipse runtime and how to assign the classloader from my new
runtime to a plugin? Has someone just a few lines that give me a starting point or a documentation
draft?

In case i couldn't find out how to implement a alternate runtime i have to start using Swing next week,
please save me before this pain!

Thanks!
Stefan



_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
http://dev.eclipse.org/mailman/listinfo/eclipse-dev



Back to the top