Mar 1
2010

OSGi Development with Knopflerfish – Part 3: The Execution

Written by Robert Greiner | posted in Programming, Tutorials | View Comments

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: /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

View Comments

  1. Why don’t you use PDE + PAX Runner?

    Creating your own wizard doesn’t seem the best approach here.

  2. Chris, Thanks for the info. I’ve never heard of PAX Runner before. I am going to check it out right now. I’m still pretty new to OSGi development, but plan on using it quite a bit in some upcoming work projects.

    I’m using the out of the box Knopflerfish OSGi Desktop for this tutorial but I like the idea of running everything seamlessly through Eclipse.

  3. Robert says:

    Chris, Thanks for the info. I’ve never heard of PAX Runner before. I am going to check it out right now. I’m still pretty new to OSGi development, but plan on using it quite a bit in some upcoming work projects.

    I’m using the out of the box Knopflerfish OSGi Desktop for this tutorial but I like the idea of running everything seamlessly through Eclipse.

blog comments powered by Disqus
.NET Algorithmic Art ASP ASP .NET ASP .NET MVC audio Bill Gates C# code review Computational Art CouchDB CSS Database DateTime debug DevDays eclipse ethics FileSystem Git Improvement iPhone Java JQuery Knopflerfish Layouts mail Microsoft Oracle OSGi Processing Python Ruby SMTP SOA Software Piracy Source Control SQL StackOverflow tools TortoiseGit training Web Standards Windows XHTML