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

计算机工程 ›› 2006, Vol. 32 ›› Issue (11): 86-88.

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

一个 Portlet 协作框架的分析与设计

陈毓林 1,2,许舒人1,2,宋靖宇1,2,万淑超1,2   

  1. 1. 中国科学院软件研究所,北京 100080;2.中国科学院研究生院,北京 100080
  • 出版日期:2006-06-05 发布日期:2006-06-05

Analysis and Design on A Framework of Portlet Cooperation

CHEN Yuling1,2,XU Shuren1,2,SONG Jingyu1,2,WAN Shuchao1,2   

  1. Institute of Software, Chinese Academy of Sciences, Beijing 100080; 2.Graduate School of the Chinese Academy of Sciences, Beijing 100080
  • Online:2006-06-05 Published:2006-06-05

摘要: 在J2EE 的应用中,越来越多地使用Portal 来发布信息。Portal 的重要组件就是Portlet。在Portlet 开发中,会遇到大量的需要Portlet协作的情况。现有的Portlet1.0 规范没有为Portlet 协作提供可用的框架,难以满足Portal 应用的需求。该文在Portlet1.0 规范的基础上,提出了一个Portlet 协作框架,并给出了它在两种不同的通信机制下的实现。这个框架已经成功应用于ONCEPortal 系统中。

关键词: Portal;Portlet 协作;事件通信;消息

Abstract: Portal is universally deployed and used for publishing information in more and more J2EE applications. Portlet is the component ofPortal. In development of Portlet, Portlet cooperation is strongly needed. However, the current Java portlet specification (version 1.0), doesn’tprovide a usable framework of inter-portlet communication, which doesn’t satisfy the demands of portal application. Based on the standard portletspecification, the paper proposes a framework of portlet cooperation, and the different implementations based on two kinds of communicationmechanisms are further introduced. The framework has been successfully applied in ONCEPortal system.

Key words: Portal; Portlet cooperation; Event communication; Message