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]