`
sakakokiya
  • 浏览: 488816 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

OSGI basic

阅读更多
General
  • describe the unit of modularization in OSGi
  • describe the relationship of OSGi bundles to eclipse plugins
  • describe OSGi layers and their responsibilities
The manifest
  • identify the OSGi bundle meta data descriptor from a list of jar entries
  • detect incorrect bundles from a list of jar entries
  • From a selection of manifest headers identify the mandatory ones
  • be able to tell the default values for the following headers
    • Bundle-Classpath
    • Bundle-ManifestVersion
    • Bundle-Version
Bundle contents
  • know how bundles are packaged usually (technically speaking)
  • identify legal/illegal contents of a bundle
Common syntax knowledge
  • from a list of version-strings identify incorrect ones
  • be able to order version-strings
  • detect incorrect header syntax
Import/export directives
  • show how to use the following directives to extend/enable visibility of java packages:
    • export-package
    • import-package
    • private-package
  • find missing import-package for a given (small) bundle
  • find redundant import-package for a given (small) bundle
  • configure a bundle so that it substitutes a package
  • avoid using require-bundle header using import-package
  • Show how you can make a given importing package optional
Lifecycle Layer: Bundle States
  • Show the difference of the following bundle states: INSTALLED, RESOLVED, ACTIVE
  • predict the bundle-identifier after a framework restart
  • show how you can execute bundle code directly on bundle startup / stop
  • identify the system bundle from a list of bundles
  • predict the behaviour if the system bundles shuts down
  • show the requirements to start a bundle
Basic API
  • from a list of interfaces, determine the one that provides the main lifecycle methods for a bundle
  • show how can get the system bundleContext reference
  • show how you programmatically shutdown the framework
  • identify a valid BundleActivator implementation
  • predict the bundle state if an uncatched exception is thrown inside BundleActivator.start() or BundleActivator.stop()
  • predict the outcome of calling the following lifecycle-methods on the System Bundle:
    • start
    • stop
    • update
    • uninstall
分享到:
评论

相关推荐

    osgi介绍osgi介绍

    osgi介绍osgi介绍osgi介绍osgi介绍osgi介绍osgi介绍osgi介绍osgi介绍osgi介绍osgi介绍

    OSGI原理与最佳实践

    资源名称:OSGI原理与最佳实践内容简介:国内第一本OSGi图书OSGi国内推广者林昊多年经验的结晶涵盖OSGi从入门到深入的知识体系引领OSGi国内研究和普及本书基于作者多年使用OSGi的经验而编写,涵盖了OSGi从入门到深入...

    利用R-OSGi实现分布式OSGi应用

    利用R-OSGi实现分布式OSGi应用 本文通过介绍传统 OSGi 应用程序及 R-OSGi 的实现方式入手,阐述了 R-OSGi 对于 OSGi 规范的实现方式。然后通过一个简单的功能实现由浅入深地讲述传统 OSGi 和 R-OSGi 上的两种不同...

    OSGI合集 OSGi原理与最佳实践

    网上收集的OSGI资料. 包括: OSGi原理与最佳实践(精选版).pdf OSGI实战和源码.rar osgi进阶.pdf Introduce.OSGi.ppt OSGi.in.action.ppt r4.cmpn.pdf r4.core.pdf r4.enterprise.pdf

    《OSGi实战》完整中文版

    《 OSGi实战》是学习OSGi的全面指导,利用与架构和开发人员相关的示例清楚地讲解OSGi概念,同时探讨了很多实践场景和技术,阐述了开发人员有多需要OSGi,怎么将OSGi嵌入其他容器中,将遗留系统移入OSGi的最佳实践,...

    OSGI 实例eclipse插件开发

    OSGI 实例 eclipse 插件开发

    OSGI进阶.pdf

    讲OSGI应用的讲OSGI应用的讲OSGI应用的讲OSGI应用的讲OSGI应用的

    OSGi入门教程(OSGi Introduce)

    OSGi的入门教程,帮助初学者快速了解OSGi的定义、用途及组成。

    OSGI 入门资料PDF

    OSGI 入门资料PDF,包括OSGI实战、OSGI进阶、OSGI 入门和整合Spring、OSGI原理与最佳实践

    osgi,林昊写的osgi实战和进阶

    osgi,林昊写的osgi实战和进阶,学习osgi的好东西,入门的首选。

    OSGI进阶--OSGi开发指南

    OSGi开发文档和实践指南,描述了OSGI的开发流程

    OSGI进阶实战教程

    OSGi学习不错的材料 OSGi学习不错的材料 OSGi学习不错的材料 OSGi学习不错的材料

    OSGi入门资料-初探OSGi 的全文

    OSGi的入门资料,网上找的,初探OSGi 的全文

    OSGi原理与最佳实践

    本书基于作者多年使用OSGi的经验而编写,涵盖了OSGi从入门到深入的知识体系,从OSGi的简介开题,介绍OSGi的作用及基本概念;其后进入OSGi实战,结合实例讲解如何基于OSGi框架编写模块化、动态化的各种Java应用;最后...

    OSGI组件编程(osgi.component.programming)

    介绍OSGI组件编程,详细介绍用eclipse和Equinox开发OSGI程序

    OSGi规范(r4)中文版

    OSGi 中文版 中文 OSGi中文OSGi 中文版 中文 OSGi中文OSGi 中文版 中文 OSGi中文OSGi 中文版 中文 OSGi中文OSGi 中文版 中文 OSGi中文OSGi 中文版 中文 OSGi中文OSGi 中文版 中文 OSGi中文OSGi 中文版 中文 OSGi中文

    OSGi.NET框架 Documentation

    本文档主要针对OSGi.NET模块化框架使用进行了描述 OSGi.NET框架是一个参照了OSGi规范的模块化管理框架。框架为应用程序(组件(bundle))提供了一个标准环境。整个框架可以划分为一些层次: 1.运行环境 2.模块...

    Equinox OSGI ServletBridge 原理与实践.rar

    OSGI 在 J2EE 环境下的应用越来越广泛,目前在 Servlet 应用中使用 OSGI 有两种方式:Servlet Container in OSGI 和 OSGI in Servlet Container. 前一种:和普通的 OSGI bundle 开发差不多,而后一种:Equinox 提供...

    OSGi in Action

    HIGHLIGHT OSGi in Action is the definitive guide to OSGi, the hottest technology available for creating modular enterprise Java applications. DESCRIPTION What is OSGi? Simply put, OSGi is a ...

    osgi重要文档--osgi核心规范文档,osgi服务文档,osgi-最佳原理与实践(王昊编著,共79页)

    osgi核心规范文档,osgi服务文档,osgi-最佳原理与实践(王昊编著,共79页)

Global site tag (gtag.js) - Google Analytics