Thank you Stijn and Richard for your comments. I appreciate all the
support from everyone and continue to welcome additional pointers as I
am still very new to this. All the help I have thus received has been
very helpful and much appreciated.

Elliot

On Fri, Apr 23, 2010 at 7:15 AM, Stijn de Witt <[email protected]> wrote:
> Ok, I didn't know that.
>
> However, the main point stands that if you need access to other packages
> than the default ones, you can add them using that property. :)
>
> -----Original Message-----
> From: Richard S. Hall [mailto:[email protected]]
> Sent: vrijdag 23 april 2010 15:02
> To: [email protected]
> 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
>>> Their package names in a list passed to Felix using
>>>
>>> Constants.FRAMEWORK_SYSTEMPACKAGES_EXTRA
>>
>> All JRE packages are exported by the system bundle by default, so you
>> should just have to import them in your bundles with no other
>> necessary actions.
>
> I should have added: since framework 2.0.0...
>
> -> richard
>
>>
>> -> richard
>>
>>> Good luck!
>>>
>>> -Stijn
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Elliot Huntington [mailto:[email protected]]
>>> Sent: donderdag 22 april 2010 17:41
>>> To: [email protected]
>>> Subject: OSGi newbie looking for pointers
>>>
>>> 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 each other by
>>> publishing/consuming services to/from the service registry. I am
>>> confused though how this process works.
>>>
>>> For example I want to create a bare bones OSGi GUI application. I
> want
>>> this application to only manage the lifecycle of the gui (open the
>>> main frame and handle the shutdown/closing of the program). Then, I
>>> would like to create other projects (bundles) that provide all the
>>> features for this application via plugins. I'm thinking that the best
>>> way to do this would be to create the main GUI application with an
>>> instance of embedded Felix.
>>>
>>> Given this scenario, how would the different pluggins/bundles know
> how
>>> to modify the main GUI and add functionality to it? Does the GUI
>>> itself need to provide hooks into it and if so how does it do that?
>>>
>>> If any of you have any example code or tutorials you could point me
> to
>>> I would appreciate it.
>>>
>>> Thanks,
>>> Elliot
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Elliot

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to