中国科学院软件研究所机构知识库
Advanced  
ISCAS OpenIR  > 软件工程技术研究开发中心  > 学位论文
题名:
支持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.
语种: 中文
内容类型: 学位论文
URI标识: http://ir.iscas.ac.cn/handle/311060/5646
Appears in Collections:软件工程技术研究开发中心 _学位论文

Files in This Item:
File Name/ File Size Content Type Version Access License
10001_200528015029047潘聪_paper.pdf(1659KB)----限制开放-- 联系获取全文

Recommended Citation:
潘聪. 支持JSR286规范的Portlet协作框架的设计与实现[D]. 软件研究所. 中国科学院软件研究所. 2008-06-07.
Service
Recommend this item
Sava as my favorate item
Show this item's statistics
Export Endnote File
Google Scholar
Similar articles in Google Scholar
[潘聪]'s Articles
CSDL cross search
Similar articles in CSDL Cross Search
[潘聪]‘s Articles
Related Copyright Policies
Null
Social Bookmarking
Add to CiteULike Add to Connotea Add to Del.icio.us Add to Digg Add to Reddit
所有评论 (0)
暂无评论
 
评注功能仅针对注册用户开放,请您登录
您对该条目有什么异议,请填写以下表单,管理员会尽快联系您。
内 容:
Email:  *
单位:
验证码:   刷新
您在IR的使用过程中有什么好的想法或者建议可以反馈给我们。
标 题:
 *
内 容:
Email:  *
验证码:   刷新

Items in IR are protected by copyright, with all rights reserved, unless otherwise indicated.

 

 

Valid XHTML 1.0!
Copyright © 2007-2017  中国科学院软件研究所 - Feedback
Powered by CSpace