1. Application Design:Service和Bean
Service for OSGi and Beans for Spring。
2. Application Packaging: Dependencies
Package Unit:Bundle
3. Applicaton Server: Classpath Loader
(1) 应用服务器上运行WAR内嵌OSGi
在这种情况下,各个WAR文件彼此间是互相独立的,应用服务器会给每个WAR文件生成各自的ClassLoader; 见附件
中的图:Application server deploying WARs.jpg.
(2) 应用服务器与其他Bundle运行在OSGi环境中
在这种情况下,应用服务器中有唯一的一个ClassPath,由OSGi管理;而且所有已经部署的WAR文件只由一个服务器
实例来管理;此时的WAR格式的文件是被转换成一个Bundle来处理的,这个转换过程由SpringDM来处理,见附件图:
Application server based on OSGi backplane deploying WARs.jpg.
(3) 应用服务器上运行原生的OSGi Bundle和WAR文件
见附件图:Application server supporting OSGi bundles and WAR files.jpg.
当前市场上支持这种模式的服务器主要有Virgo Web Server, 未来WebSphere和Weblogic也将支持。
分享到:
相关推荐
NULL 博文链接:https://springsfeng.iteye.com/blog/1271565
NULL 博文链接:https://springsfeng.iteye.com/blog/1152012
spring-dm整合osgi所需所有jar包
spring-osgi-1.2.1-with-dependencies.zip spring-osgi-1.2.1-with-dependencies.zip spring-osgi-1.2.1-with-dependencies.zip
带有嵌入式OSGI的Spring Boot 这是一个嵌入了Felix OSGI框架的示例Spring Boot项目。 其他项目是API(接口和模型类)及其实现。 Spring Boot应用程序将这些程序包作为OSGI框架的额外程序包公开(以便能够使用公开的...
spring-osgi-1.2.0-rc1-with-dependencies.zip
spring-osgi-1.2.1-with-dependencies完整包
primefaces-cookbook-osgi 在各种 osgi 容器(jboss、karaf、virgo)上制作工作 primefaces 食谱注意... 自定义 JBoss 模块:./jboss-integration/jboss-modules/ JBoss 配置:./jboss-integration/jboss-standalone-co
深入理解OSGi:Equinox原理、应用与最佳实践.pdfOSGi应用开发
spring-osgi-1.2.0-with-dependencies.zip spring-osgi-1.2.0-with-dependencies.zip spring-osgi-1.2.0-with-dependencies.zip
Spring-DM指的是 Spring ...Spring-DM 的主要目的是能够方便地将 Spring 框架和OSGi框架结合在一起,使得使用Spring的应用程序可以方便简单地部署在OSGi环境中,利用OSGi框架提供的服务,将应用变得 更加模块化。
wicket-request / 7.0.0 -SNAPSHOT $捆绑包:安装mvn:org.apache.wicket / wicket-core / 7.0.0-SNAPSHOT $捆绑包:安装mvn:commons-io / commons-io / 2.4 3,安装wab:$ bundle:install mvn:com.tissue.osgi /...
spring-osgi-core-1.2.1.jar spring-osgi-core-1.2.1-sources.jar spring-osgi-extender-1.2.1.jar spring-osgi-extender-1.2.1-sources.jar spring-osgi-io-1.2.1.jar spring-osgi-io-1.2.1-sources.jar spring-...
osig与spring:springDM开发环境配置,eclipse配置osgi开发环境,及命令
深入理解OSGi:Equinox原理、应用与最佳实践源代码,同时附带equinox-SDK-3.8源代码。
spring1.2的包文件 spring-osgi-1.2.0.zip
osgi-rdm-services 使用 OSGi 和 Apache Camel EIP 的参考数据管理服务 安装 wb-lib-generic-repository JBossFuse:karaf@root> 安装 mvn:com.scb.wb/wb-lib-generic-repository/1.0.0 安装 wb-rdm-repository ...
学习SpringDM+OSGI的一些总结,自我学习,上传文档防止丢失。
httpcomponents-client-4.2-alpha1-osgi-bin.zip