Mediator connector for composition of loosely coupled software components

被引:0
|
作者
Faculty of Computer Science and Information Technology, University Putra Malaysia, 43400 UPM, Serdang, Malaysia [1 ]
机构
来源
J. Appl. Sci. | 2008年 / 18卷 / 3139-3147期
关键词
Component composition - Component model - Deployment phase - Software connectors - Software coupling;
D O I
10.3923/jas.2008.3139.3147
中图分类号
学科分类号
摘要
Component-based software development is an approach that has many benefits, such as improving application developer productivity, reducing costs and complexity by reusing of existing code. Programming in this approach is like assembling (i.e., composing software out of prefabricated components) rather than development, which reduces skill requirements and lets expertise focuses on domain problems. Component model is the cornerstone of any CBSD methodology, which defines what components are, how they can be constructed and specifies the standards and conventions that are needed to enable composition of independently developed components. The current component models focus on the specification and packaging of components but provide almost no support for the easy composition. Component composition techniques used in these models apply either direct or indirect message passing as connection schemes, which lead to tight coupling (i.e., components mix computation with control). Therefore, we propose the mediator connector which is similar to a communication hub. It initiates method calls and manages the returns and also provides loose coupling. Mediator connector is a framework and can be reused without any modification. The major contribution of this research is we have successfully defined no explicit connector and direct message passing between components and components are loaded into the framework dynamically during runtime based on the attachment. The attachment is the compositional configuration that defines the interaction between components, which is similar to Component Definition Language (CDL) in Koala component model or Architecture Definition Language (ADL). We illustrate the feasibility of mediator connector by building a simple bank system and evaluate the loose coupling by applying Coupling Between Objects (CBO) metrics. © 2008 Asian Network for Scientific Information.
引用
收藏
相关论文
共 50 条