OSGi Development with Knopflerfish – Part 3: The Execution

Now that the hard parts are finished, all that's left is to run our bundle in the Knopflerfish Desktop.

Click File -> Open Bundle File (Ctrl+O) and select the bundle we created in Part 2 (the default is: <project_path>/out). Note, the bundle .jar file gets built automatically through Eclipse.

Once the bundle has been loaded into the Knopflerfish OSGi Desktop simply hit the Start Bundle button and watch it go!

And that's it! You have just created your very first OSGi bundle using Eclipse and Knopflerfish. The RandomRoll application is probably one of the lamest apps around, so go and make something awesome and send me a comment when you do.

This is Part 3 of a 3 part introduction to OSGi and Knopflerfish.
SOA OSGi Development with Knopflerfish – Part 1: The Setup
SOA OSGi Development with Knopflerfish – Part 2: The Code
SOA OSGi Development with Knopflerfish – Part 3: The Execution

Creative Commons License

What do you think?