DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Running an RCP application as a simple OSGi bundle
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Nov 2008
Default Running an RCP application as a simple OSGi bundle - 11-28-2008, 09:00 AM

I want to know if is it possible to run an eclipse RCP application as a simple OSGi bundle using equinox start command from its console (without deploying it as an eclipse product). I want to do the following from the equinox console:

> install /path/to/bundle1 /* this is actually a legacy java application which will consume services from my RCP app next*/
> start [bundle1]
> install /path/to/rcpbundle /* I managed to do this but the application workbench did not appear: the activator has no reference to the Application class*/
> start [rcbbundle] /* I want to run the application but of course only the start method of the activator got run: so no app and no gui*/


The context (About my applications and what I aim doing):
I have two applications: The first one is a legacy application developed using Swing. The second one is an RCP application that will offer some services to the first one (graphical editor). In order to integrate both applications, I chose to use OSGI as a middlewar (the fact that my RCP application is OSGi bundle already). I changed the old application so it can run inside the osgi framework and everything was ok. I succeeded in running the swing application as a bundle after running my RCP application as a product (the reverse order: the first app should load the second one (the RCP app) as needed :s ).

I'll be glad to post further details or clarifications if needed. Thank you in advance.
Reply With Quote
Reply

Tags
equinox, osgi, rcp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble Stopping a threaded OSGi bundle olakara Java 5 11-10-2009 09:47 AM
How to use URLClassLoader in a OSGi Bundle? raja00cs Eclipse 0 11-19-2008 11:04 AM
Problem running application under Tomcat in Eclipse Anonymouslemming Eclipse 0 09-09-2008 08:49 AM
Having birt viewer and other application running on same app server blured75 BI & Reporting 0 09-05-2008 05:19 AM
running SWT application on vista u2ganesh Eclipse 0 08-18-2008 08:17 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com