원문: http://oscar-osgi.sourceforge.net/tutorial/ - 예제1: OSGi 서비스 이벤트를 listen하는 간단한 번들 - 예제2: 사전 서비스 번들 - 예제2b: 다른 버젼의 사전 서비스 번들 - 예제3: 예제 2에서 만든 사전 서비스 번들을 사용하는 클라이언트 번들 - 예제4: 예제 2에서 만든 사전 서비스 번들을 사용하는 클라이언트의 좀 더 복잡한 구현. Example 5: A bundle that registers a more complex spell check service that uses the dictionary service defined in Example 2. Example 6: A bundle that implements a client for the spell check service from Example 5; this bundle is nearly identical to dictionary client in Example 4. Example 7: A bundle that re-implements the spell check service of Example 5, but does so using the Gravity Service Binder, which greatly reduces the complexity of the service. 이 튜토리얼에 사용된 모든 파일은 tutorial.jar 파일에 들어 있다. 이 파일에는 원 스텝으로 풀로 빌드할 수 있는 Ant 빌드 스크립트도 포함되어 있다. |