随笔 - 3, 文章 - 0, 评论 - 2, 引用 - 0
数据加载中……

2008年3月6日

个人翻译的 Spring Dynamic Modules Reference Guide 文档(3)

Chapter 2. 环境需求
Spring Dynamic Modules 1.0 支持JDK 1.4 及以上版本和 OSGi R4 及以上版本。在 manifest (OSGi R4)中,使用了Spring Dynamic Modules的Bundles应当标明 "Bundle-ManifestVersion: 2"。 我们基于 Equinox 3.2.2做了测试, Felix 1.0.1, and Knopflerfish 2.0.3 as part of our continuous integration process.

Part II. 参考文档
Document structure
在参考文档的这个部分将详细解释Spring Dynamic Modules所提供的核心功能。

Chapter 3, Bundles and Application Contexts 描述 OSGi Bundle 和 Spring 应用上下文之间的关系,并且介绍Spring Extender Bundle 对自动初始化应用上下文的支持。

Chapter 4, Packaging and Deploying Spring-based OSGi applications 描述如何在OSGi环境中部署 Spring Framework jar 文件,以及如何应用扩展的 APIs 从 application bundles should you need to do so. 这个章节也将解释一些问题,这些问题是关于在OSGi环境中何时使用现存的并非为OSGi设计的企业级类库。

Chapter 5, The Service Registry 描述怎样导出Spring beans作为服务在OSGi服务注册中,以及如何注入OSGi服务引用到bean中。这一章也定义具有动态生命周期的OSGi服务和bundle如何被支持的。

Chapter 6, Working with Bundles 描述如何声明一个描绘OSGi bundle的bean,包括在OSGi平台中安装bundle的支持信息。

Chapter 7, Testing OSGi based Applications 解释被 Spring Dynamic Modules 所提供的测试整合。这使得你可以写出简单的JUnit整合测试用例,这些用例能够启动一个OSGi 环境,安装整合测试所需的bundle,在OSGi中执行测试用例,还有返回结果给运行者。这使得整合OSGi测试同一个JUnit测试环境变得非常容易。

 

posted @ 2008-03-06 12:49 codefanatic 阅读(1271) | 评论 (0)编辑 收藏

2008年3月1日

个人翻译的 Spring Dynamic Modules Reference Guide 文档(2)

     摘要: art I. Introduction

本文档是 Spring Dynamic Modules 的参考指南。它定义了 Spring Dynamic Modules 的概念和语义,OSGI 服务平台 的语法。。。  阅读全文

posted @ 2008-03-01 09:59 codefanatic 阅读(1655) | 评论 (0)编辑 收藏

2008年2月29日

个人翻译的 Spring Dynamic Modules Reference Guide 文档(1)

     摘要: 个人出于了解 Spring Dynamic Modules 目的,最近在业余时间看其官方参考文档。顺便翻译了一下,翻译的比较草,没有润色,对想了解 Spring Dynamic Modules 的朋友,可能有点帮助吧。没有一次翻译完,所以陆续粘章节在这里,有译的不准确的地方,请指出来。多谢。  阅读全文

posted @ 2008-02-29 19:16 codefanatic 阅读(1372) | 评论 (2)编辑 收藏