Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Felix for desktop application

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.

like image 369
user1285928 Avatar asked Jul 27 '12 21:07

user1285928


1 Answers

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.

like image 196
Frank Lee Avatar answered Oct 04 '22 02:10

Frank Lee