OSGi
摘要: Share some ideas on Apache karaf shell.
閱讀全文
摘要: A Migration Path to OSGi
閱讀全文
摘要: Example for GraniteDS v1.2.0 OSGi bundle including src and bin
閱讀全文
摘要: Dynamic DataService registration in OSGi Container for Graniteds v1.1.0
閱讀全文
摘要: Adding OSGi support to graniteds v1.1.0.
閱讀全文
摘要: OSGi & Modularity
閱讀全文
摘要: a simple osgi sample
閱讀全文
摘要: SSAP builds on Equinox and extends its capabilities for provisioning and library management
閱讀全文
摘要: OSGI:Class Loading Architecture
閱讀全文
摘要: OSGi and Mobile Device Management
閱讀全文
摘要: Bundles can export packages to other bundles. This exporting creates a dependency between the bundle exporting a package and the bundle using the package. When the exporting bundle is uninstalled or updated, a decision must be taken regarding any shared packages.
The Package Admin service provides an interface to let the Management Agent make this decision.
Bundles能輸出包到其他bundles,這個輸出將會在輸出bundle與引入bundle間發生一個依賴關系,當輸出bundle被卸載或更新時,對相關的共享包必須做出一個決定(相應動作)。包管理服務提供了一個接口讓Management Agent來做這個決定。
閱讀全文
摘要: The OSGi Service Layer defines a dynamic collaborative model that is highly integrated with the Life Cycle Layer. The service model is a publish, find and bind model. A service is a normal Java object that is registered under one or more Java interfaces with the service registry. Bundles can register services, search for them, or receive notifications when their registration state changes.
閱讀全文
摘要: The Life Cycle Layer provides an API to control the security and life cycle operations of bundles. The layer is based on the module and security layer.
生命周期層提供了一個用于控制bundle的安全和生命周期操作的API,這個層是基于模塊層和安全層的。
閱讀全文
摘要: Resolving is the process that creates a wiring between bundles. Constraints on the wires are statically defined by:
? Import and export packages (the DynamicImport-Package header is ignored in this phase)
? Required bundles, which import all exported packages from a bundle as defined in Requiring Bundles on page 65.
? Fragments, which provide their contents and definitions to the host as defined in Fragment Bundles on page 68
閱讀全文
摘要: 標準的JAVA平臺對打包,部署和驗證基于JAVA的應用程序和組件僅僅提供了有限的支持。所以許多基于JAVA的項目,例如JBoss和 NetBeans,都通過編寫自己的類加載器生成面向模塊的層來打包,部署和驗證應用程序和組件。OSGi框架為java模塊化提供了一個通用的標準的解決方案。
閱讀全文
摘要: OSGi 聯盟建立于 1999 年,是一個非贏利機構,旨在建立一個開放的服務規范。OSGi 規范為網絡服務定義了一個標準的、面向組件的計算環境,它最初的目的就是為各種嵌入式設備提供通用的軟件運行平臺,屏蔽設備操作系統與硬件區別的中間件平臺,通過這個平臺,可以對不同軟件商提供的應用(OSGi 中稱為 Bundle)進行組件的生命周期管理的能力,如應用組件可以從運行中被安裝、升級或者移除而不需要中斷設備的操作,應用組件可以動態的發現和使用其他庫或者應用程序。由于 OSGi 技術具有服務組件模塊化、動態加載應用等優點,正被越來越多的領域關注,如嵌入設備制造業、汽車制造業、企業應用等。目前,OSGi 聯盟發布的最新的 OSGi 服務規范為 4.0,讀者可以查閱參考資料了解詳細信息。
閱讀全文
摘要: 在 OSGi 服務平臺上構建應用時,必須考慮各種服務之間依賴關系及服務的管理,應用所依賴的服務有可能在任何時候被注銷或者更新,用戶在完成對 Service 的發布、查找、綁定的同時,還需要對服務的狀態進行監聽,以便作出適當的響應,所以在 OSGi 服務平臺上,對服務依賴關系的動態管理至關重要。在 OSGi Release 4 中,提出了 Declarative Services 規范,通過該規范可以方便地對服務之間的依賴關系和狀態進行監聽和管理。在本文中,將對 Declarative Services 規范進行介紹并且基于該規范開發一個實例。
閱讀全文
摘要: ince Eclipse adopted the OSGi runtime in version 3.0, there has been some tension between the Extension Registry, which has been a feature of Eclipse from its beginning, and the Service Layer, which came from OSGi and pre- existed the involvement of Eclipse. The cause of the tension is that these two models overlap somewhat, and because they are both intended to solve very similar problems. However “the Devil is in the details”, and these two models are different enough to make it impractical fo
閱讀全文
摘要: Eclipse擴展和OSGi服務的本質及意圖都非常相像。盡管它們很類似,但是由于它們背景不同,因此還是有很多不同點。Neil Bartlett曾經寫了一篇文章,對Eclipse擴展及多種用途的OSGi服務進行了比較分析,最近,他又在其博客上以PDF的形式重新發布了這篇文章。這篇文章是特別為那些熟悉Eclipse注冊庫但不熟悉OSGi的Java開發者編寫的。
閱讀全文
摘要: OSGI概念中主要分為了Bundle和Service,可以認為Bundle是一個模塊的管理器,主要是通過BundleActivator管理模塊的生命周期,而Service則是這個模塊可暴露對外的服務對象,這里體現了OSGI和傳統的Plugin Framework不同的一個地方,管理和靜態結構分開,在OSGI中通過在manifest.mf文件中增加一些內容來發布Bundle....
閱讀全文
摘要: 在osgi的equinox實現環境下,web服務器和web應用都是以osgi的bundle的形式部署到equinox環境中的。
閱讀全文
摘要: ClassLoader(類加載器)是Java提供的抽象類,它是負責加載類的對象。ClassLoader 做的工作就是在JVM 中將類裝入內存。 當 JVM 需要使用類時,它根據名稱向 ClassLoader 請求這個類,然后 ClassLoader 返回一個表示這個類的 Class 對象。
閱讀全文
摘要: equinox 環境下每一個bundle都是由獨立的classLoader實現類的裝載的。在OSGi Framework中,Bundle是模塊化管理的單元,所有的應用和資源都必須以Bundle作為載體。
閱讀全文
摘要: he 2007 JavaOne conference reflected the fact that mobile computing—for both consumers and enterprise workers—is transitioning from early adoption to the mass market. But Java ME developers still face many obstacles that server-side or desktop Java developers never have to contend with. Those issues include:
閱讀全文
摘要: OSGi: Open Services Gateway Initiative,它的初衷是建立一個開放性的平臺,通過這個平臺可以很容易的發布可管理的服務和應用到本地網絡和設備,以達到設備管理的目的。JSR232和OSGi有著密切的聯系(其實是完全一樣的),JSR232就是OSGi的Framework規范加上OSGi Mobile的規范。OSGi Framework主要解決底層Runtime Model問題,而OSGi Mobile是基于OSGi Framework之上的關于OMA DM的實現。
閱讀全文
摘要: The RAP project enables developers to build rich, Ajax-enabled Web applications by using the Eclipse development model, plug-ins with the well known Eclipse workbench extenstion points, JFace, and a widget toolkit with SWT API (using qooxdoo for the client-side presentation). The project has graduated from incubation and released its 1.0 release.
RAP 1.0 是第一個允許開發人員透過Eclipse組件模式建置RAI的Ajax平臺,採用OSGi(Open Services Gateway Initiative)標準。
閱讀全文