Re: OSGi newbie looking for pointers

2010-04-23 Thread Elliot Huntington
: vrijdag 23 april 2010 15:02 > To: users@felix.apache.org > Subject: Re: OSGi newbie looking for pointers > > On 4/23/10 8:58, Richard S. Hall wrote: >> On 4/23/10 4:38, Stijn de Witt wrote: >>> If you need access to Swing / AWT etc in your bundles, you should >&

RE: OSGi newbie looking for pointers

2010-04-23 Thread Stijn de Witt
users@felix.apache.org Subject: Re: OSGi newbie looking for pointers On 4/23/10 8:58, Richard S. Hall wrote: > On 4/23/10 4:38, Stijn de Witt wrote: >> If you need access to Swing / AWT etc in your bundles, you should >> Instruct Felix to expose these classes to your bundles by placing >>

Re: OSGi newbie looking for pointers

2010-04-23 Thread Richard S. Hall
On 4/23/10 8:58, Richard S. Hall wrote: On 4/23/10 4:38, Stijn de Witt wrote: If you need access to Swing / AWT etc in your bundles, you should Instruct Felix to expose these classes to your bundles by placing Their package names in a list passed to Felix using Constants.FRAMEWORK_SYSTEMPACKAGE

Re: OSGi newbie looking for pointers

2010-04-23 Thread Richard S. Hall
On 4/23/10 4:38, Stijn de Witt wrote: If you need access to Swing / AWT etc in your bundles, you should Instruct Felix to expose these classes to your bundles by placing Their package names in a list passed to Felix using Constants.FRAMEWORK_SYSTEMPACKAGES_EXTRA All JRE packages are export

RE: OSGi newbie looking for pointers

2010-04-23 Thread Stijn de Witt
Hi Elliot, Depending on the amount of coupling between the bundles and your main application that you like, I think there are basically two options: 1) Push: Expose windows etc. through some service your framework places in the registry, so bundles can add elements to it 2) Pull: Have your b

Re: OSGi newbie looking for pointers

2010-04-22 Thread Elliot Huntington
Thanks for your comment Shrivallabh. I'll look into Eclipse RCP. By the way, if your application is using the command line you might be interested in something I discovered the other day. Its called args4j. I thought it was interesting. On Thu, Apr 22, 2010 at 2:12 PM, Shrivallabh Deshmukh wrote

Re: OSGi newbie looking for pointers

2010-04-22 Thread Shrivallabh Deshmukh
Hi elliot, Eclipse is OSGI based. The OSGI platform used by eclipse is called Equinox. If you are targeting a GUI application, it might now be a bad idea to look at Eclipse RCP. If the exercise is to understand how OSGI works, then a GUI application might not be the most appropriate starting poi

Re: OSGi newbie looking for pointers

2010-04-22 Thread Elliot Huntington
Thank you Richard for your quick response. I think this article and the examples in it will be very useful. Elliot On Thu, Apr 22, 2010 at 9:54 AM, Richard S. Hall wrote: > On 4/22/10 11:40, Elliot Huntington wrote: >> >> Hi: >> >> I just started researching OSGi this past week so I'm very new t

Re: OSGi newbie looking for pointers

2010-04-22 Thread Richard S. Hall
On 4/22/10 11:40, Elliot Huntington wrote: Hi: I just started researching OSGi this past week so I'm very new to it and have never developed an application using it. But I am very interested in learning this technology. In my research I've learned that the different bundles can communicate with