I work from several months with Apache Felix and Glassfish. I can create simple Web Applications. Now I have to create Java daemon based on OSGI architecture. Is there any good tutorial with example code that can help to learn Apache Felix for Java desktop applications. I also want to ask how the bundles are packaged? Is web applications they are jar files.
I'd say using webstart would be easiest. In that case you'd create a basic jar file containing Felix (and maybe some more libraries) that can start up your application, and from there the client could download additional bundles using Bundle.install. You could also combine it with Apache Felix OBR, that would give you more flexibility, at the cost of some extra infrastructue.
You can also have a look at this, but I think (please correct me if I am wrong) it is Equinox specific.
Finally, JBundle looks promising, I never tried it but it looks relevant for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With