`

Why Spring Dynamic Modules

 
阅读更多

Chapter 1. Why Spring Dynamic Modules?

The Spring Framework is the leading full-stack Java/JEE application framework. It provides a lightweight

container and a non-invasive programming model enabled by the use of dependency injection, AOP, and

portable service abstractions. The OSGi Service Platform offers a dynamic application execution environment

in which modules (bundles) can be installed, updated, or removed on the fly. It also has excellent support for

modularity and versioning.

Spring Dynamic Modules makes it easy to write Spring applications that can be deployed in an OSGi execution

environment, and that can take advantage of the services offered by the OSGi framework. Spring's OSGi

support also makes development of OSGi applications simpler and more productive by building on the

ease-of-use and power of the Spring Framework. For enterprise applications, the combination of Spring

Dynamic Modules and the OSGi platform provides:

• Better separation of application logic into modules, with runtime enforcement of module boundaries

• The ability to deploy multiple versions of a module (or library) concurrently

• The ability to dynamically discover and use services provided by other modules in the system

• The ability to dynamically install, update and uninstall modules in a running system

• Use of the Spring Framework to instantiate, configure, assemble, and decorate components within and across

modules.

• A simple and familiar programming model for enterprise developers to exploit the features of the OSGi

platform.

We believe that the combination of OSGi and Spring offers a comprehensive model for building enterprise

applications.

The OSGi Alliance found valuable the programming model proposed by Spring DM and, in OSGi 4.2,

standardized it by introducing the Blueprint Container, as part of the Compendium services.

分享到:
评论

相关推荐

    Spring学习笔记之一“why spring”

    这篇"Spring学习笔记之一“why spring”"可能探讨了为何开发者会选择Spring作为他们的技术栈。让我们深入了解一下Spring框架的核心优势和特性。 首先,Spring是轻量级的。尽管它提供了众多功能,但核心容器(如IoC...

    1.spring_whyspring

    标题 "1.spring_whyspring" 暗示了我们即将探讨的是关于Spring框架的一些核心概念和它为何在IT行业中如此重要。这篇博文链接虽然没有提供具体的内容,但我们可以通过标签"源码"和"工具"来推测文章可能涉及Spring框架...

    Why use with Struts + Spring + Hibernate

    在探讨为何选择使用Struts、Spring与Hibernate框架组合构建Java Web应用时,我们首先需要理解这些框架各自的优势以及它们如何协同工作,以解决传统Java Web应用程序中存在的问题。 ### 传统Java Web应用程序的问题 ...

    spring示例代码好又全.rar

    内容如下: spring.rar [spring_aop1] ...injection1] [spring_injection2] [spring_scope] [spring_struts_1] [spring_struts_2] [spring_struts_hibernate] [spring_whyspring] [ssh_training_itemmgr]

    spring ppt

    Why Spring? How to learn Spring

    Pro Spring 3

    Aspect-oriented programming techniques with Spring, and why they’re important Data access and persistence using Spring and Hibernate, MyBatis, JPA 2 and more How to build transaction engines for your...

    spring经典文档pdf

    Spring框架是Java开发中最常用的轻量级框架之一,它以其模块化、易用性和灵活性而闻名。本PDF文档“Spring经典文档”据称是学习Spring的绝佳资源,可以帮助读者深入理解Spring框架的核心概念和高级特性。 Spring...

    Spring笔记

    1. **spring_whyspring**:这部分可能解释了为什么选择Spring框架,包括它提供的优势,如DI、AOP、事务管理等,以及它如何简化Java EE应用的开发。 2. **spring_injection**:这是关于Spring的依赖注入机制的,它是...

    thymeleaf-extras-springsecurity-3.0-master.zip

    Remember that Spring Security sets a special security-oriented object as expression root, which is why you would not be able to access the expectedRole variable directly in the above expression. ...

    spring.microservices.in.action

    Chapter 1 introduces you to why the microservices architecture is an important and relevant approach to building applications, especially cloud-based applications. Chapter 2 walks you through how to ...

    Spring+Hibernate+Struts

    在"spring_whyspring"中,可能讲述了Spring框架的设计理念和核心优势,包括轻量级、非侵入式以及模块化设计。"spring_scope"可能涵盖了Spring的Bean作用域,如Singleton、Prototype、Request、Session等,以及它们在...

    Learning Spring 5.0

    Get to know the basics of Spring development and gain fundamental knowledge about why and where to use Spring Framework Explore the power of Beans using Dependency Injection, wiring, and Spring ...

    pro spring batch

    How to implement a robust, scalable, distributed batch processing system using open-source frameworks Pro Spring Batch gives concrete examples of how each piece of functionality is used and why it ...

    The book of Why中文版1

    《The Book of Why 中文版1》是一本深入探讨因果关系科学的著作,作者通过丰富的实例和理论,引领读者理解并掌握如何从数据中提取出真正的因果信息。书中的核心概念是“因果关系之梯”,它揭示了因果推理的三个不同...

    5 Why 分析法培训资料

    《5 Why 分析法详解与应用》 5 Why 分析法是一种源于丰田生产系统的诊断工具,主要用于探究问题的根本原因,防止问题重复发生。通过连续提问五个“为什么”,以揭示问题背后的深层次原因,达到解决问题的目的。这种...

    dowhy微软Python实现

    《DoWhy:微软Python实现因果推断框架详解》 因果推断是数据分析领域的一个重要分支,它旨在理解和量化变量之间的因果关系,而不仅仅局限于相关性分析。2011年图灵奖得主朱迪亚·珀尔在因果推理领域的贡献深远,他...

    spring-boot-reference-guide-zh_cn

    如果你想从大体上了解Spring Boot或Spring,本章节正是你所需要的!..."和"why?"等问题,并通过一些安装指南简单介绍 下Spring Boot。然后我们会构建第一个Spring Boot应用,并讨论一些需要遵循的 核心原则

Global site tag (gtag.js) - Google Analytics