引用本文:曹东刚,梅宏,曹建农.在中间件中支持用户自定义连接子.软件学报,2005,16(8):1378-1385
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 5036次   下载 6205 本文二维码信息
码上扫一扫!
分享到: 微信 更多
在中间件中支持用户自定义连接子
曹东刚1, 梅宏1, 曹建农2
1.北京大学,信息科学技术学院,软件研究所,北京,100871;2.香港理工大学,电子计算学系,香港
摘要:
连接子是软件体系结构设计阶段的重要概念,但在运行阶段却缺少显式的支持.描述了在J2EE应用服务器PKUAS中显式支持用户自定义连接子的机制.PKUAS连接子模型借鉴Aspect的思想,连接子由若干Advice组成Advice对各种交互约束进行建模,Advice在运行时刻被动态调用.连接子在部署时刻由PKUAS动态生成并发布到名字服务中,由客户端在运行时刻下载到本地加载,负责构件交互.运行时刻的连接子可以和设计阶段的连接子相对应,从而保持概念的连贯性和一致性,体现了良好的关注点分离原则.
关键词:  连接子  中间件  应用服务器  非功能约束
DOI:
分类号:
基金项目:Supported bvtheNationalNatural Science Foundation of China under Grant Nos.60125206,60233010,60303004(国家自然科学基金);the National High-Tech Research and Development Plan of China under Grant No.2004AA113060(国家高技术研究发展计划(863));the National Grand Fundamental Research 973 Program of China under Grant No.2002CB312003(国家重点基础研究发展规划(973));the Key Grant Project of Sci.& Tech.Research of MOE of Chinaunder Grant No.0214(国家教育部科学技术研究重大项目)
Supporting User-Defined Connector in Middleware
CAO Dong-Gang,MEI Hong,CAO Jian-Nong
Abstract:
Connector is an important concept in software architecture design, but it doesn’t get explicit support from runtime. This paper describes the work on supporting user-defined connector in J2EE application server PKUAS. The PKUAS connector model takes advantage of the Aspect technology. A construct named Advice is used to model crosscutting concerns related to interaction behaviours. These advices are organized into connector and are invoked dynamically at runtime. At deployment time, PKUAS will generate a client-side connector object and publish it to a naming service. Application clients download the connector object to a local machine to manage the component interactions. Runtime connectors correspond well to those in the design time, thus narrowing the concept gap greatly. This flexible and modular approach effectively facilitates the separation of concerns.
Key words:  connector  middleware  application server  non-functional constrain

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: