Blog / 2007-01-17 aQute - Software Consultancy
Search
*

Snippets!

My improvement plan this year is to let a thousands snippets blossom. The OSGi is finally going through the hockey stick curve and rising fast. Unfortunately, there is currently a severe lack of documentation for beginners. And we are all beginners one time. Especially with the increasing number of services. Even experienced people will regularly have to use services that they are not familiar with.

So my good plan for this year is to write snippets whenever I have a bit of time. A snippet is a short piece of code demonstrating a single concepts. For example, a snippet can show how to register a servlet with the Http Service, like the RegisterServlet snippet does. All snippets have the same format:

  • Purpose
  • Prerequisites - This section shows links to the Bundle Repository to obtain the proper bundles
  • Instructions - Detailed instructions and source code.
  • Links - Documentation links and tips

The code is in the public domain, licenses require the copying of copyright statements and that is clearly hard to do for snippets. So feel free to use the snippets in any possible way. No strings attached.

I am also welcoming contributions from others, but notice that they must be in the public domain.

The current set is small, but I hope to grow them quickly. Enjoy, and take a look at the few existing Snippets!

   Peter Kriens
Copyright 2006 aQute SARL, All Rights Reserved