Presentation is loading. Please wait.

Presentation is loading. Please wait.

OSGi (Open Service Gateway Initiative)

Similar presentations


Presentation on theme: "OSGi (Open Service Gateway Initiative)"— Presentation transcript:

1 OSGi (Open Service Gateway Initiative)
Reporter:sz-han wang

2 OUTLINE OSGi Oscar

3 OSGi架構 OSGi 架構主要由三種元件所組成: Framework、Bundle 和Service。Framework 架構在 Java VM(Java Virtual Machine)上,Bundle 則是執行於 Framework 上的應用程式,而 Service 是 Bundle 所提供(Export)或所需(Import)的介面服務。

4 OSGi架構圖

5 OSGi 架構

6 services in OSGi Framework

7 OSGi bundle Bundle 是一個Java Archive(JAR)檔案,該 JAR 檔包含 Java類別(Class)、啓動類別(Activator Class)、清單文件檔(Manifest Header)和一些資源檔(如HTML 網頁或JPG 圖檔等)。

8 OSGi bundle

9 Bundle 生命週期狀態圖

10 Class Loading概念圖

11 Service Registry

12 OSGi的優點 Platform Independent Application Independent Secure
Multiple Services Multiple Local Network Technologies Multiple Device Access Technologies Co-existence with Other Standards

13 An UPnP/HAVI software bridge

14 OBR (OSCAR Bundle Repository)
提供一個容器並且告知bundle能被部署到哪一個OSGi的Framework上。 增加bundle的可見度以及群組性。

15 OBR示意圖

16 Bundle 互相合作圖

17 Oscar Oscar is an open source implementation of the Open Services Gateway Initiative (OSGi) framework specification; the goal is to provide a completely compliant implementation of the OSGi framework specification. OSCAR可以運用它的plug-in或是擴充(extension)機制,可以很容易的被嵌入到其他的專案上。 動態的組裝應用程式(Dynamic assembly of applications)

18 Oscar GUI Shell ...\Oscar\lib\system.properties ..\.oscar\test07

19 Oscar GUI Shell

20 Oscar GUI Shell

21 Simple

22 Simple

23 Simple

24 Oscar GUI Shell

25 mp3player

26 OSGi UPnP

27 UPnP device

28 OSGi UPnP Device Tester

29 Example MPEG7-search


Download ppt "OSGi (Open Service Gateway Initiative)"

Similar presentations


Ads by Google