摘要: 在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
陈毓林,许舒人,宋靖宇,万淑超. 一个 Portlet 协作框架的分析与设计[J]. 计算机工程, 2006, 32(11): 86-88.
CHEN Yuling,XU Shuren,SONG Jingyu,WAN Shuchao. Analysis and Design on A Framework of Portlet Cooperation[J]. Computer Engineering, 2006, 32(11): 86-88.