中国科学院机构知识库网格
Chinese Academy of Sciences Institutional Repositories Grid
支持JSR286规范的Portlet协作框架的设计与实现

文献类型:学位论文

作者潘聪
学位类别博士
答辩日期2008-06-07
授予单位中国科学院软件研究所
授予地点软件研究所
关键词Portal,Portlet 事件 异步通信 协作框架
其他题名Design and implementation of portlet coordination framework supporting JSR286 specification
中文摘要Portlet是具有用户界面的可与用户多次交互的Web组件。随着Portal和Portlet在企业中的广泛应用,仅仅将各种应用和数据通过Portlet集成到Portal中已经不能满足用户的需求。用户希望这些应用之间能够相互协作,以利用现有应用组建新的业务流程。Portlet协作是指两个或多个Portlet进行信息交换并使用这些信息的能力。目前协作功能的实现方式可以分为两种:基于后端(back-end)的实现方式与基于前端(front-end)的实现方式。在这两种协作实现方式的基础上,本文提出了两种Portlet协作框架。 本文提出一种基于事件的Portlet前端协作模型,通过引入此模型,解决了Portlet前端协作中客户端与服务器端无法交互的困难,使协作动作由客户端和服务器端共同完成。基于此模型提供给开发者一种可扩展的协作框架,利用JavaScript技术使得协作的Portlet在客户端“相知”,协作的行为在客户端触发,Portlet获得协作数据后使用Ajax技术请求服务器端的资源,服务器端使用JSR286规范定义的资源服务接口响应用户的请求,进而动态更新界面。 当前的Portlet后端协作方式依赖于特定的Portal产品,针对这点不足,本文在JSR286规范定义的事件及共享渲染参数协作机制基础上,实现了一个Portlet后端协作框架。在该框架中协作服务使用消息队列保存待处理的消息,Portlet 容器作为中介实现发布事件的Portlet和订阅事件的Portlet之间松散耦合。Portlet监听协作事件,事件触发后调用事件协作服务发布事件,为了提高协作的并发性,事件协作服务使用多线程处理协作事件。该协作框架与JSR286规范兼容,具有良好的可移植性。 本文对这两种Portlet协作框架进行了实现,并将其应用于中科院软件所自主开发的门户产品OncePortal中。本文重构了OncePortal系统,给出了框架的体系结构与系统接口,描述了框架的各功能模块,并详细讨论了Portlet协作框架中的关键技术,包括事件协作流程的描述、事件处理过程、多级事件流等。
英文摘要Portlet is a user facing web components with many interactive. With widespread using of Portal in enterprises, simply aggregating applications into Portal cannot meet demand. To build new business processes from the existing applications, Portlet interoperability is required. Portlet coordination refers to that two or more Portlet can have the ability to exchange and use information. Current way to achieve coordination features can be divided into two types: Based on the back-end and based on the front-end. On the basis of these two coordination ways, this paper proposed corresponding portlet coordination framework. A front-end Portlet coordination model based on event is proposed. Through introducing this model, the difficulty to interact between the client-side and server-side is solved; the collaborative action is done at both the client-side and server-side. The model makes use of JavaScript to make the portlet of coordination know each other in client side where the coordination action is triggered. Once portlet collaboration data is acquired ,The targeted portlet using Ajax request to access server-side resources through resources serving interface which is defined in JSR286 specification, and then to update the corresponding elements in the client interface. Considering the current back-end coordination framework depends on the specific Portal products, we propose the corresponding back-end coordination framework base on the event-based and public render parameters portlet coordination Mechanism defined in JSR286 specification. Coordination service maintains the published event in message queue, portlet container realize loosely coupled between publish portlet and subscription portlet as mediator. Portlet monitor the event then call coordination service to publish event, in order to enhance Performance, the coordination service use multi-threading technology to handle event. The framework is in accordance with the Portlet Specification 2.0, which ensures its good portability. We realize the frameworks and applied them to OncePortal which is a Portal product developed by Institute of Software, Chinese Academy of Sciences. In this paper, portlet container structure is refractor and Function components and the system interfaces of the framework are described in detail. The key techniques used in the framework including description of coordination Portlet, description of the coordination process base on event model, event handling process, multi-level event flow are discussed.
语种中文
公开日期2011-03-17
页码59
源URL[http://124.16.136.157/handle/311060/5646]  
专题软件研究所_软件工程技术研究开发中心 _学位论文
推荐引用方式
GB/T 7714
潘聪. 支持JSR286规范的Portlet协作框架的设计与实现[D]. 软件研究所. 中国科学院软件研究所. 2008.

入库方式: OAI收割

来源:软件研究所

浏览0
下载0
收藏0
其他版本

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。