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間發(fā)生一個依賴關(guān)系,當輸出bundle被卸載或更新時,對相關(guān)的共享包必須做出一個決定(相應(yīng)動作)。包管理服務(wù)提供了一個接口讓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的應(yīng)用程序和組件僅僅提供了有限的支持。所以許多基于JAVA的項目,例如JBoss和 NetBeans,都通過編寫自己的類加載器生成面向模塊的層來打包,部署和驗證應(yīng)用程序和組件。OSGi框架為java模塊化提供了一個通用的標準的解決方案。
閱讀全文
摘要: OSGi 聯(lián)盟建立于 1999 年,是一個非贏利機構(gòu),旨在建立一個開放的服務(wù)規(guī)范。OSGi 規(guī)范為網(wǎng)絡(luò)服務(wù)定義了一個標準的、面向組件的計算環(huán)境,它最初的目的就是為各種嵌入式設(shè)備提供通用的軟件運行平臺,屏蔽設(shè)備操作系統(tǒng)與硬件區(qū)別的中間件平臺,通過這個平臺,可以對不同軟件商提供的應(yīng)用(OSGi 中稱為 Bundle)進行組件的生命周期管理的能力,如應(yīng)用組件可以從運行中被安裝、升級或者移除而不需要中斷設(shè)備的操作,應(yīng)用組件可以動態(tài)的發(fā)現(xiàn)和使用其他庫或者應(yīng)用程序。由于 OSGi 技術(shù)具有服務(wù)組件模塊化、動態(tài)加載應(yīng)用等優(yōu)點,正被越來越多的領(lǐng)域關(guān)注,如嵌入設(shè)備制造業(yè)、汽車制造業(yè)、企業(yè)應(yīng)用等。目前,OSGi 聯(lián)盟發(fā)布的最新的 OSGi 服務(wù)規(guī)范為 4.0,讀者可以查閱參考資料了解詳細信息。
閱讀全文
摘要: 在 OSGi 服務(wù)平臺上構(gòu)建應(yīng)用時,必須考慮各種服務(wù)之間依賴關(guān)系及服務(wù)的管理,應(yīng)用所依賴的服務(wù)有可能在任何時候被注銷或者更新,用戶在完成對 Service 的發(fā)布、查找、綁定的同時,還需要對服務(wù)的狀態(tài)進行監(jiān)聽,以便作出適當?shù)捻憫?yīng),所以在 OSGi 服務(wù)平臺上,對服務(wù)依賴關(guān)系的動態(tài)管理至關(guān)重要。在 OSGi Release 4 中,提出了 Declarative Services 規(guī)范,通過該規(guī)范可以方便地對服務(wù)之間的依賴關(guān)系和狀態(tài)進行監(jiān)聽和管理。在本文中,將對 Declarative Services 規(guī)范進行介紹并且基于該規(guī)范開發(fā)一個實例。
閱讀全文
摘要: 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服務(wù)的本質(zhì)及意圖都非常相像。盡管它們很類似,但是由于它們背景不同,因此還是有很多不同點。Neil Bartlett曾經(jīng)寫了一篇文章,對Eclipse擴展及多種用途的OSGi服務(wù)進行了比較分析,最近,他又在其博客上以PDF的形式重新發(fā)布了這篇文章。這篇文章是特別為那些熟悉Eclipse注冊庫但不熟悉OSGi的Java開發(fā)者編寫的。
閱讀全文
摘要: OSGI概念中主要分為了Bundle和Service,可以認為Bundle是一個模塊的管理器,主要是通過BundleActivator管理模塊的生命周期,而Service則是這個模塊可暴露對外的服務(wù)對象,這里體現(xiàn)了OSGI和傳統(tǒng)的Plugin Framework不同的一個地方,管理和靜態(tài)結(jié)構(gòu)分開,在OSGI中通過在manifest.mf文件中增加一些內(nèi)容來發(fā)布Bundle....
閱讀全文
摘要: 在osgi的equinox實現(xiàn)環(huán)境下,web服務(wù)器和web應(yīng)用都是以osgi的bundle的形式部署到equinox環(huán)境中的。
閱讀全文
摘要: ClassLoader(類加載器)是Java提供的抽象類,它是負責加載類的對象。ClassLoader 做的工作就是在JVM 中將類裝入內(nèi)存。 當 JVM 需要使用類時,它根據(jù)名稱向 ClassLoader 請求這個類,然后 ClassLoader 返回一個表示這個類的 Class 對象。
閱讀全文
摘要: equinox 環(huán)境下每一個bundle都是由獨立的classLoader實現(xiàn)類的裝載的。在OSGi Framework中,Bundle是模塊化管理的單元,所有的應(yīng)用和資源都必須以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,它的初衷是建立一個開放性的平臺,通過這個平臺可以很容易的發(fā)布可管理的服務(wù)和應(yīng)用到本地網(wǎng)絡(luò)和設(shè)備,以達到設(shè)備管理的目的。JSR232和OSGi有著密切的聯(lián)系(其實是完全一樣的),JSR232就是OSGi的Framework規(guī)范加上OSGi Mobile的規(guī)范。OSGi Framework主要解決底層Runtime Model問題,而OSGi Mobile是基于OSGi Framework之上的關(guān)于OMA DM的實現(xiàn)。
閱讀全文
摘要: 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 是第一個允許開發(fā)人員透過Eclipse組件模式建置RAI的Ajax平臺,採用OSGi(Open Services Gateway Initiative)標準。
閱讀全文