달력

3

« 2024/3 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
2008. 4. 13. 23:02

Hello, OSGi 공부하는 것2008. 4. 13. 23:02

OSGi개발의 위한 Sample Program 예제이다. 사실 www.eclipse.org에 갔다가 관련 링크를 보고 내용을 흩어 보았는데, 쉽게 잘 설명되어 있다.
우리가 개발할때 익히 잘아는 Hello world 예제이다. 짧지만 OSGi에 대해서 잘 배울수 있는 예제로, 이 예제는 OSGi를 이용해서 Serveice-oriented application을 만드는 방법과 ServiceFactory와 ServiceTracker Classes에 대해 설명하고 있다.

아래 링크를 참조하여 예제를 실행하다 보면 여러가지를 배울수 있을 것이다.
 링크: Hello, OSGi, Part 1: Bundles for beginners
 
OSGi offers the fallowing advantages:
     1. You can install, uninstall, start, and stop different modules running
         at the same time.
     2. Your application can have more than one version of a paticular module running
         at the same time.
     3. OSGi provides very good infrastructure for developing service-oriented
        applications, as well as embedded, mobile, and rich internet apps.

이는 OSGi의 장점들이고, 이를 위해서는 OSGi 컨테이너가 존재해야 한다. EJB container나 Sevlet container과 유사하게 인터페이스에 따라 정의되고 동작되기 때문이다.

위에 링크를 참조해서 공부한다면, 개념을 익히는데 큰 어려움은 없을것 같다.

:
Posted by 행복상자