Hi all,
I am new to Java and even newer to OSGi, though I have been experimenting and reading up on both for the past few weeks. I have posted specific questions previously regarding the project I have been tasked with (writing a graphical, wizard based, configuration tool with pluggable modules to add further wizard panels) and had some very helpful replies. I have subsequently bought the "OSGi in Action" book and am reading through this to further my understanding. My question is, given how new I am to both Java and OSGi, I am wondering what the best approach might be for me to achieve the required result. Here are my thoughts, feel free to recommend an alternative route, if you believe it would be simpler. 1. Implement the configuration tool application in Java making use of Java interfaces to provide a clear linkage point between the core application and what I intend to eventually become pluggable modules (the classes providing the wizard panels). 2. Split the application into a main module (which embeds the OSGi framework) and bundles which implement the various wizard panel classes. The bundles would be implemented as OSGi services and the 'launcher' code in the main app. would add and start all bundles found in a sub-folder of application on application startup (much like the felix paint sample program). I'm also relatively new to the development and build environments used for Java, of which there seem to be many. For now, I'm trying to stick with NetBeans (7.0.1), which I have some experience with, so that I don't have to start learning another IDE, it's additional plugins and/or the additional project/build tools (Bnd/Ant/Maven etc.). Thanks in advance Dave