Bjorn,

to me it seems like you lack a good introduction to OSGI. If so, I would 
recommend to read the free osgi book by "Neil Bartlett" (just google it). 
Though it is incomplete (at least it was the last time I checked), it 
still shows the basics and will give you an idea of how OSGi works. To me 
the book was very helpful when I first started out with felix - so maybe 
it will help you as well.

bye, Michael



Bjorn Roche <[email protected]> wrote on 15.12.2010 02:48:22:

> Hey all,
> 
>    I have a large and complex Java app (call it the main app) that would 
 
> like to use features from another large and complex Java app (call it 
> the library app). The main app is a standard app written without 
> knowledge of OSGi and the library app is OSGi-based. I have read some 
> of the slideshows and tutorials and so on that you have online, and my 
> impression is that there are some facilities for this. For example, 
http://felix.apache.org/site/
> presentations.data/felix-apachecon-20071114.pdf 
>   gives this bit of code:
> 
> // Define configuration properties
> Map configMap = new StringMap(false);
> configMap.put(..., ...);
> ...
> // Create application activators
> List list = new ArrayList();
> list.add(new Activator());
> try {
>    // Create a framework instance
>    Felix felix = new Felix(configMap, list);
>    // Start framework instance
>    felix.start();
>    ...
>    // Stop framework instance
>    felix.stop();
> } catch (Exception ex) { ... }
> 
> Ordinarily, my next step would be to look at the Javadocs for the 
> Felix object to figure out what this all means. But I can't find the 
> Javadocs for this project. I've looked through the site, I've googled, 
> I've searched the mailing list a bit (hard to search, eg, by date), 
> and I've downloaded the framework and run maven to the best of my 
> knowledge (I'm not exactly a maven maven). Still no love. Am I missing 
> something obvious? Can someone point me in the right direction?
> 
> More generally, other than possible code rework in my library app, 
> what would be involved in larger task of using features that exist in 
> an OSGi app in a non-OSGi app?
> 
> Thanks for your help,
> 
>    bjorn
> 
> -----------------------------
> Bjorn Roche
> http://www.xonami.com
> Audio Collaboration
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


The information included in this e-mail and any files transmitted with it is 
strictly confidential and may be privileged or otherwise protected from 
disclosure. If you are not the intended recipient, please notify the sender 
immediately by e-mail and delete this e-mail as well as any attachment from 
your system. If you are not the intended recipient you are not authorized to 
use and/or copy this message and/or attachment and/or disclose the contents to 
any other person.

Reply via email to