当前位置:网站首页>软件架构与设计(九)-----基于组件的架构
软件架构与设计(九)-----基于组件的架构
2022-07-28 14:38:00 【丨刘一丨】
基于组件的架构
基于组件的体系结构侧重于将设计分解为独立的功能或逻辑组件,这些组件表示包含方法,事件和属性的定义良好的通信界面。它提供了更高级别的抽象,并将问题分为子问题,每个都与组件分区相关联。
基于组件的架构的主要目标是确保组件的可重用性。组件将软件元素的功能和行为封装到可重用和可自行部署的二进制单元中。有许多标准组件框架,如COM / DCOM,JavaBean,EJB,CORBA,.NET,Web服务和网格服务。这些技术广泛应用于本地桌面GUI应用程序设计,如图形JavaBean组件,MS ActiveX组件和COM组件,可通过简单的拖放操作重用。
面向组件的软件设计比传统的面向对象方法有许多优点,如 -
通过重用现有组件,缩短了市场的时间和开发成本。
通过重用现有组件可靠性提高。
什么是组件?
组件是一种模块化,便携式,可更换和可重复使用的定义明确的功能集,其封装其实现并将其作为更高级别的界面导出。
组件是一个软件对象,旨在与其他组件交互,封装某些功能或一组功能。它具有明确定义的界面,并符合架构中所有组件通用的推荐行为。
软件组件可以被定义为具有合同规定的接口和显式上下文相关性的组合单元。也就是说,软件组件可以独立部署,并由第三方组成。
组件视图
组件可以有三个不同的视图 - 面向对象视图,常规视图和与进程相关的视图。
边栏推荐
- [delete specified number leetcode]
- Vs dynamic library debugging
- 有奖活动分享:使用WordPress搭建一个专属自己的博客后最高可领取iPhone13
- Easy start, swagger
- Crmeb Standard Edition window+phpstudy8 installation tutorial (II)
- 软件测试的流程规范有哪些?具体要怎么做?
- Idea debugging burpsuit plug-in
- Share the HR experience of the first and second tier companies
- 堆操作
- 爬虫入门(1)——requests(1)
猜你喜欢

ECCV 2022 | ssp: a new idea of small sample tasks with self-supporting matching

【通道注意力机制】SENet

Problems encountered by pyppeter

Easyexcel complex header export (one to many)

7/13 (pond sampling)

一篇文章了解RSocket协议

Flowable workflow all business concepts

爆肝整理 JVM 十大模块知识点总结,不信你还不懂

Endnote 与word关联

Learn PHP reflection classes from ThinkPHP remote code execution
随机推荐
Close independent windows and close other windows at the same time
Grpc frequently asked questions
Nftscan and nftplay have reached strategic cooperation in the field of NFT data
Among the three "difficult and miscellaneous diseases" of machine learning, causal learning is the breakthrough | Liu Li, Chongqing University
爆肝整理 JVM 十大模块知识点总结,不信你还不懂
9. Related data accumulation task definition
位运算的一些操作
简单入手Swagger
Configure CX Oracle solution (cx_oracle.databaseerror) dpi-1047: cannot locate a 64 bit Oracle client library: "th
Differences between two ways of QT creating folders
融云实时社区解决方案
Multithreading
Volatile principle
Daily news on July 28, 2022: Science: AI has made another breakthrough in protein design, and can design specific functional proteins
ArcGIS Pro 中的编辑器
Endnote 与word关联
MIT pointed out that the public pre training model should not be used indiscriminately
根据输入target,返回数组的两个下标。
百度提出动态自蒸馏方法,结合交互模型与双塔模型实现稠密段落检索
Principle and configuration of MPLS LDP