作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (15): 103-105. doi: 10.3969/j.issn.1000-3428.2007.15.036

• 软件技术与数据库 • 上一篇    下一篇

一种基于新型事件驱动机制的Java构件交互方法

羌翼亭,陈昊鹏   

  1. (上海交通大学软件学院,上海 200030)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-08-05 发布日期:2007-08-05

New Event-driven Approach for Java Component Interaction

QIANG Yi-ting, CHEN Hao-peng   

  1. (School of Software, Shanghai Jiaotong University, Shanghai 200030)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-08-05 Published:2007-08-05

摘要: 提出了一种基于新型事件驱动机制的构件交互方法。这种方法使用统一的事件模型,以一致的方式处理各类事件,包括自动触发的自动事件,显式地调用事件服务API生成的手动事件以及反映事件路由器工作状态的路由事件。这种方法不要求修改构件源代码,且能够以灵活的事件路由器网络作为构件交互的核心,为Java构件交互问题给出了一个新的解决途径。

关键词: 事件, 构件交互, 路由, 自动触发, Java, 容器

Abstract: A new event-driven approach for interaction among Java components assembled is presented. This approach has an unified event model, which treats kinds of events with same way, including events triggered automatically, events created explicitly using API, and routing events from event router that reflects router state. It doesn’t need source code modification or taking flexible router network as interaction core. It is thought as a new way to solve component interaction problem.

Key words: event, component interaction, route, automatically-triggered, Java, container

中图分类号: