ApacheCon NA 2010 Session
Building a Sensor Network Controller
Want to learn something about OSGi but don't want to see a contrived example application? Want to do some light-duty hardware hacking? In this session we'll take a look at building an application using Apache Felix as a base platform. Our use case will be building a controller for a wireless mesh network of temperature sensors. We'll start with a quick overview of some sensor hardware so that we have an idea what we need to build. Then we'll start building a contoller application in a layered approach using common OSGi services such as Configuration Admin, Metatype, and Event Admin. However, we'll also look at issues that are not so common such as embedding native code resources into an OSGi bundle. By the end of the session you should have a good core understanding of how an OSGi application is assembled and and hopefully have some fun at the same time. Along the way we'll also see Apache Mina and Apache Derby playing important roles in the sytem, and of course the while thing will be built with Apache Maven. The application discussed in this session is readily available from the XBeeLib and pHomeNet projects on kenai.com.