欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
OSGi
小 (→版本) |
小 (→图集) |
||
(未显示1个用户的22个中间版本) | |||
第15行: | 第15行: | ||
==版本== | ==版本== | ||
− | + | [https://docs.osgi.org/specification/ OSGi Specification] | |
− | + | *R8 | |
− | + | ||
− | + | ||
− | + | ||
− | * | + | |
*R7 2018年4月 | *R7 2018年4月 | ||
+ | *R6 2015年6月 | ||
+ | *R5 2013年12月 | ||
+ | *R4 2005年10月 | ||
+ | *R3 2003年3月 | ||
+ | *R2 2001年10月 | ||
+ | *R1 2000年5月 | ||
==目标== | ==目标== | ||
第56行: | 第58行: | ||
[https://github.com/rebaze/awesome-osgi Awesome OSGi] [[文件:awesome.png]] | [https://github.com/rebaze/awesome-osgi Awesome OSGi] [[文件:awesome.png]] | ||
*[https://github.com/osgi/design OSGi design repository on GitHub] | *[https://github.com/osgi/design OSGi design repository on GitHub] | ||
+ | *[[ONOS]] | ||
+ | *[[Eclipse Equinox]] | ||
+ | *[[Apache Felix]] | ||
+ | *[[Apache Karaf]] | ||
+ | *[[Apache CXF]] | ||
+ | *[https://openliberty.io/ Open Liberty] | ||
+ | *[https://www.eclipse.org/gemini/ Gemini] - Enterprise Modules Project | ||
+ | *[https://www.eclipse.org/concierge/ Eclipse Concierge] OSGi for mobile and embedded devices | ||
+ | *[https://www.eclipse.org/ecf/ Eclipse Communication Framework (ECF)] | ||
*[[GlassFish]] | *[[GlassFish]] | ||
*[https://bnd.bndtools.org/ BND] | *[https://bnd.bndtools.org/ BND] | ||
第62行: | 第73行: | ||
*[[Kettle]] | *[[Kettle]] | ||
*[http://projects.eclipse.org/technology-type/osgi Eclipse OSGi projects] | *[http://projects.eclipse.org/technology-type/osgi Eclipse OSGi projects] | ||
+ | *[https://www.eclipse.org/libra/ Eclipse Libra] | ||
*[https://github.com/hstaudacher/osgi-jax-rs-connector OSGi - JAX-RS Connector] | *[https://github.com/hstaudacher/osgi-jax-rs-connector OSGi - JAX-RS Connector] | ||
*[https://github.com/w11k/scalamodules ScalaModules] | *[https://github.com/w11k/scalamodules ScalaModules] | ||
第71行: | 第83行: | ||
*[[Spring Dynamic Modules]] | *[[Spring Dynamic Modules]] | ||
*[https://wiki.eclipse.org/RT EclipseRT] | *[https://wiki.eclipse.org/RT EclipseRT] | ||
− | |||
*[https://www.eclipse.org/gemini/ Enterprise Modules Project (Gemini)] | *[https://www.eclipse.org/gemini/ Enterprise Modules Project (Gemini)] | ||
− | *[[Apache | + | *[[Apache Camel]] |
*[[Apache Aries]] | *[[Apache Aries]] | ||
− | *[[Apache | + | *[[Apache Ignite]] |
+ | *[[Apache ServiceMix]] | ||
+ | *[[Apache Sling]] | ||
*[http://celix.apache.org/ Apache Celix] | *[http://celix.apache.org/ Apache Celix] | ||
+ | *[http://clerezza.apache.org Apache Clerezza] | ||
+ | *[https://taverna.incubator.apache.org Apache Taverna] | ||
*[[Knopflerfish]] | *[[Knopflerfish]] | ||
*[[ServiceTango]] | *[[ServiceTango]] | ||
*[[Oscar]] | *[[Oscar]] | ||
− | *[ | + | *[[Akka]] |
*[https://github.com/sercxtyf/onboard Onboard] 敏捷软件开发协同工具 | *[https://github.com/sercxtyf/onboard Onboard] 敏捷软件开发协同工具 | ||
*[https://github.com/wmzsoft/JXADF OSGi插件化快速开发平台JXADF] | *[https://github.com/wmzsoft/JXADF OSGi插件化快速开发平台JXADF] | ||
− | |||
==Spring== | ==Spring== | ||
第115行: | 第129行: | ||
*[http://docs.huihoo.com/apache/apachecon/us2014/Apache-Sling-a-REST-based-Web-Application-Framework.pdf Apache Sling – A REST-based Web Application Framework] | *[http://docs.huihoo.com/apache/apachecon/us2014/Apache-Sling-a-REST-based-Web-Application-Framework.pdf Apache Sling – A REST-based Web Application Framework] | ||
*[http://docs.huihoo.com/apache/apachecon/us2011/11-Friday/A-Modular-Java/A-1530-Using-OSGi-to-Build-Better-Software.ppt Using OSGi to Build Better Software] | *[http://docs.huihoo.com/apache/apachecon/us2011/11-Friday/A-Modular-Java/A-1530-Using-OSGi-to-Build-Better-Software.ppt Using OSGi to Build Better Software] | ||
+ | |||
+ | ==Training== | ||
+ | *[https://github.com/Waleon/CTK-examples OSGI for C++ - 通往架构师之路] | ||
==图集== | ==图集== | ||
<gallery widths=100px heights=100px perrow=6> | <gallery widths=100px heights=100px perrow=6> | ||
+ | image:layering-osgi.png|OSGi | ||
+ | image:OSGi-architecture.png|OSGi架构 | ||
+ | image:OSGi-Service-Layer.png|OSGi服务 | ||
image:osgi-container-security-architecture.gif|OSGi容器安全 | image:osgi-container-security-architecture.gif|OSGi容器安全 | ||
image:osgi-enroute-authentication-api.png|Enroute身份验证API | image:osgi-enroute-authentication-api.png|Enroute身份验证API | ||
image:Modularity-Maturity-Model.png|Modularity Maturity Model | image:Modularity-Maturity-Model.png|Modularity Maturity Model | ||
+ | image:Next-Level-of-Modularity.png|Modularity | ||
+ | image:OSGi-Service-Component-Runtime.png|OSGi SCR | ||
+ | image:OSGi-CDI-Integration.png|OSGi CDI integration | ||
+ | image:Spring-vs-OSGi.png|Spring vs OSGi | ||
+ | image:Jakarta-EE-on-OSGi.png|Jakarta EE on OSGi | ||
</gallery> | </gallery> | ||
2020年10月13日 (二) 01:44的最后版本
您可以在Wikipedia上了解到此条目的英文信息 OSGi Thanks, Wikipedia. |
OSGi - The Dynamic Module System for Java
OSGi还是模块化领域中的一个工具,可用于模块化并在模块之间强制施加边界。随着项目规模的不断扩大,强有力的模块化系统所带来的价值已经超越了实现模块化的代价。
目录 |
[编辑] 新闻
自http://www.osgi.org/blog/atom.xml加载RSS失败或RSS源被墙
[编辑] 简介
OSGi规范为网络服务定义了一个标准的、面向组件的计算环境。将OSGI服务平台添加到一个网络设备中,可以为其增加在网络的任何地方管理组件的生命周期的能力。软件组件可以从运行中被安装、升级或者移除而不需要中断设备的操作。软件组件可以动态的发现和使用其他库或者应用程序。通过这个平台,软件组件可以作为商品在柜台中出售以及在家里开发。OSGi联盟已经开发出很多标准组件接口,从普通的功能如:HTTP server、configuration、 logging、security、user administration、XML等等很多。一致的插件机制可以使这些组件满足不同买主的不同需求。
软件组件架构致力于一个软件开发中越来越大的问题:大量的基础配置需要开发和维护。标准化的OSGI组件架构显然可以简化这个配置过程。
[编辑] 版本
- R8
- R7 2018年4月
- R6 2015年6月
- R5 2013年12月
- R4 2005年10月
- R3 2003年3月
- R2 2001年10月
- R1 2000年5月
[编辑] 目标
OSGi的用途和目标:
- 降低复杂性:OSGi 由捆绑包组成。捆绑包(Bundles) 是完全模块化的,只通过服务接口相互通信。
- 重用:由于 OSGi 捆绑包是完全模块化的,因此它们支持更好的重用。有些开源项目将它们的 Java 类打包到与 OSGi 捆绑包兼容的 JARs 中。
- 易于部署:OSGi 框架提供一个标准化的 API,以支持 OSGi 实现使用一些工具来安装、启动和停止 OSGi 捆绑包。
- 动态更新:由于 OSGi 捆绑包是模块化的且易于部署,因此无需重新启动应用程序即可进行更新。
- 版本控制:捆绑包的动态更新和沙箱化特性支持轻松部署和使用捆绑包的不同版本,而不会在 JARs 之间遇到冲突。类加载被沙箱化到每个捆绑包,因此日志记录框架这样的依赖项在捆绑包之间即使不同也不会导致问题。
[编辑] Maven
[编辑] 框架
OSGi规范的核心组件是OSGi框架。该框架为应用程序(被成为bundles)提供一个标准化的环境。这个框架被分为以下几个层次:
- L0: 执行环境
- L1: 组件模块
- L2: 组件生命周期管理
- L3: 服务注册
另外,还有一个安全机制深深的缠绕在所有的层中。
The OSGi R4 Core Framework services include the following:
- Package Admin Service Specification
- URL Handlers Service Specification
- Start Level Service Specification
- Conditional Permission Admin Specification
- Permission Admin Service Specification
Oscar Bundle Repository is an incubator and repository for OSGi bundles.
[编辑] 项目
- OSGi design repository on GitHub
- ONOS
- Eclipse Equinox
- Apache Felix
- Apache Karaf
- Apache CXF
- Open Liberty
- Gemini - Enterprise Modules Project
- Eclipse Concierge OSGi for mobile and embedded devices
- Eclipse Communication Framework (ECF)
- GlassFish
- BND
- Bndtools
- iDempiere
- Kettle
- Eclipse OSGi projects
- Eclipse Libra
- OSGi - JAX-RS Connector
- ScalaModules
- Domino
- OPS4j Pax Web
- C++ Micro Services
- WSO2 Carbon
- Bndtools
- Spring Dynamic Modules
- EclipseRT
- Enterprise Modules Project (Gemini)
- Apache Camel
- Apache Aries
- Apache Ignite
- Apache ServiceMix
- Apache Sling
- Apache Celix
- Apache Clerezza
- Apache Taverna
- Knopflerfish
- ServiceTango
- Oscar
- Akka
- Onboard 敏捷软件开发协同工具
- OSGi插件化快速开发平台JXADF
[编辑] Spring
OSGi和Spring的融合
[编辑] Cloud
[编辑] 应用
- IBM、BEA和JBoss应用服务器采用OSGi
- BMW汽车的应用控制系统采用OSGI作为其底层架构, 这套系统主要用来控制汽车上的音箱、灯光等等设备,总共由1000多个Bundle构成,但BMW汽车的应用控制系统启动时间却只需要3.5秒。OSGi Technology in the Vehicle
- Liferay
[编辑] 行业
[编辑] 文档
- OSGi: Simplifying the IoT Gateway
- Managing OSGi artifacts with Package Drone
- Building Modular Cloud Applications with OSGi
- Building Systems with Asynchronous Microservices
- Building OSGi Components
- Apache Felix Web Console
- Adding Modularity Afterward with Embedded OSGi
- Apache Sling – A REST-based Web Application Framework
- Using OSGi to Build Better Software
[编辑] Training
[编辑] 图集
[编辑] 链接
一个实体要“敏捷”,它的结构就需要有高度的模块化。因此,关于敏捷的问题应该从“如何构建敏捷的业务系统?”变成“如何构建高度模块化的业务系统?”