资 源 简 介
org.ece.meteo
This is our OSGi project.
It is aimed to show principal behaviour of a bundle, how to expose and subscribe to services, and how to send event.
We have got few sensors who sends their values as event on a thread, an event handler bundle who care about sensors value and sends event alerts on its service registered and on GET request to highlight them, and two other bundle who display those alerts (one on a console, theother one as a serlvet).
TODO
add css sheet for the servlet...
How To try it
Download Knopflerfish and install it http://www.knopflerfish.org/download.html (java -jar archive.jar)
install eclipse, its subclipse plugin and the knopflerfish plugin too
import svn project (http://osgi-basics.googlecode.com/svn/)
edit projects properties to add external jars (and point to the kfish/osgi/framework.jar and others needed) - You should have them with the wrong a