I am not sure.

karaf is typically used as a server to run your bundles on. I am not sure how well Karaf could work in a kind of embedded mode. Generally I am not sure if you really need OSGi for that case. A lot of the complexitiy of OSGi comes from the classloader and the dynamic nature at runtime. I think you will not really need those two features. You probably simply want a kind of plugin system without much overhead.

What could be interesting is a dependency injection framework like spring or guice. You can configure it to scan the classpath for classes with special annotations. So you could create every wizard dialog as a annotated class and put it into a jar. Then you could start the container and it would pick up the classes and inject them into a kind of main app.

Christian



Am 27.09.2011 14:06, schrieb David Griffin:
Thanks Christian.

What I'm looking to develop is an application which embeds the OSGi framework 
launcher and uses bundles to extend its functionality. The actual application 
will be fairly simple (a graphical configuration wizard), my idea was to use 
OSGi and bundles to provide a core configuration tool application with a bundle 
per wizard dialog which will allow the creation of multiple configuration tools 
with different combinations of wizards which are then suited to various 
products that we produce.

Do you still think Karaf is worth a look?

Dave



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




--
--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com


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

Reply via email to