转载自墙外http://aneeshkumarkb.blogspot.com/ ,非常nice的教程
OSGi Tutorial for beginners, Hello World OSGi Tutorial, Equinox OSGi Tutorial, Start developing OSGi Bundles
OSGi – The Dynamic Module System for Java : Part 1
Level: Novice
Aneesh Kumar KB(aneesh_kb@cdactvm.in), E-Governance, CDAC
This tutorial enables to understand the basic concepts of OSGi(Open Service Gateway Initiative), the Dynamic Module System for Java and start with OSGi bundle development.
Before you start
About this series
This is a two part tutorial in which the first part covers the basic OSGi technology, architecture and a Hello world OSGi bundle development. The second part of this tutorial covers the Service Oriented Architecture (SOA) in OSGi and Service bundle development .
Objectives
In this tutorial you will
1. learn the OSGi technology and its architecture
2. familiarize with famous OSGi implementations.
3. create a Hello world OSGi bundle.