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

Hi,

thanks a lot for the feedback. I was thinking a wihile about the different solutions and descide to do it similar to your suggestions.
So i will not run eclipse inside of jboss but jboss inside of eclipse.
Hopefully i can access the jboss classloader from a other plugin to access the ejbs in the same java virtueal machine.
I will dig in the available code until next days.

Thanks a lot!
Stefan


Am 02.04.2004 um 18:48 schrieb Pascal Rapicault:

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






<x-tad-smaller>Dorian Birsan/Toronto/IBM@IBMCA</x-tad-smaller><x-tad-smaller> </x-tad-smaller>
<x-tad-smaller>Sent by: eclipse-dev-admin@xxxxxxxxxxx</x-tad-smaller>
<x-tad-smaller>04/02/2004 11:18 AM</x-tad-smaller>
<x-tad-smaller>Please respond to</x-tad-smaller>
<x-tad-smaller> eclipse-dev</x-tad-smaller>
<x-tad-smaller>To</x-tad-smaller>
<x-tad-smaller>eclipse-dev@xxxxxxxxxxx</x-tad-smaller>
<x-tad-smaller>cc</x-tad-smaller>
<x-tad-smaller>Subject</x-tad-smaller>
<x-tad-smaller>Re: [eclipse-dev] osgi runtime, how to Alternate Runtimes</x-tad-smaller>
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





<x-tad-smaller>Pascal Rapicault/Ottawa/IBM@IBMCA</x-tad-smaller><x-tad-smaller> </x-tad-smaller>
<x-tad-smaller> Sent by: eclipse-dev-admin@xxxxxxxxxxx</x-tad-smaller>
<x-tad-smaller>04/02/2004 10:44 AM</x-tad-smaller>
<x-tad-smaller>Please respond to</x-tad-smaller>
<x-tad-smaller> eclipse-dev</x-tad-smaller>
<x-tad-smaller>To</x-tad-smaller>
<x-tad-smaller>eclipse-dev@xxxxxxxxxxx</x-tad-smaller>
<x-tad-smaller>cc</x-tad-smaller>
<x-tad-smaller>Subject</x-tad-smaller>
<x-tad-smaller>Re: [eclipse-dev] osgi runtime, how to Alternate Runtimes</x-tad-smaller>
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




<x-tad-smaller>sg@xxxxxxxxxxxxxxx</x-tad-smaller><x-tad-smaller> </x-tad-smaller>
<x-tad-smaller> Sent by: eclipse-dev-admin@xxxxxxxxxxx</x-tad-smaller>
<x-tad-smaller>04/02/2004 09:51 AM</x-tad-smaller>
<x-tad-smaller>Please respond to</x-tad-smaller>
<x-tad-smaller> eclipse-dev</x-tad-smaller>
<x-tad-smaller>To</x-tad-smaller>
<x-tad-smaller>eclipse-dev@xxxxxxxxxxx</x-tad-smaller>
<x-tad-smaller>cc</x-tad-smaller>
<x-tad-smaller>Subject</x-tad-smaller>
<x-tad-smaller>[eclipse-dev] osgi runtime, how to Alternate Runtimes</x-tad-smaller>
<x-tad-smaller> Hi,</x-tad-smaller>

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

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

<x-tad-smaller> // TODO clarify the javadoc below.  Copy the signatures from Platform.</x-tad-smaller>
<x-tad-smaller> // talk to jeem about the best way to do the triplication</x-tad-smaller>

<x-tad-smaller> So the code reading confuse me a lot and i'm still haven't any idea how to do my job.</x-tad-smaller>


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

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

<x-tad-smaller> Thanks!</x-tad-smaller>
<x-tad-smaller> Stefan</x-tad-smaller>



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



---------------------------------------------------------------
open technology: http://www.media-style.com
open source: http://www.weta-group.net
open discussion: http://www.text-mining.org

Back to the top