Web Service的出现创建了可互操作的分布式应用程序的平台,标准的 Web Service在大多数情况下都适用,但对于动态集成业务应用程序却不太适合。例如,如果要在商业门户中集成订单状态Web Service,则需要编写代码以在门户中显示订单状态服务的结果。在这种状况之下,OASIS创建了WSRP (Web Services for Remote Portlets),即远程 Portlet Web Service标准。它允许在门户或其他中间Web应用程序中提供可视化的、即插即用的、面向用户的Web服务。
本课题设计基于中国电信一站式企业信息中心项目(EIAC)建设中的试点项目:上海电信市场部个性化建设,完成了一个完整的信息发布平台,并且将一些即时信息用WSRP部署,通过提供一组面向表示的服务,动态完成应用程序和服务的聚合,总部用户在总部门户上可以看到集成的市场部的动态信息。此系统已应用于上海电信市场部的日常管理运营中,目前反馈的运行情况良好。
本文将介绍课题背景、研究意义和目前情况,概述系统需求,从系统体系架构、功能逻辑、权限控制、数据库设计来详细阐述系统整体设计和开发过程,然后针对WSRP进行进一步的详细说明,包括开发环境、设计及一些关键的代码实现。
关键字:WSRP ,Remote Portlet,门户改造,体系结构
The Implementation for Remote Portlet base on Web Service
Abstract
The appearance of Web Service creates a platform for distributed application program of mutual manipulation. Nomal Web Service is applicable in most situation, but not in the situation of application program of dynamic integration business. For example, we must program the appearance layer for the result of order form service in portal if we want to integrate the Web Service of order form states into business portal.
In this case, OASIS create WSRP (Web Service for Remote Portlets), the standard of Web Service for Remote Portlet. It allows the Web service of visible and users oriented.
This study bases on an experimentation of China Telecom EIAC project, Market Depart Project, which creates a platform for message issuance and provide dynamic message to Shanghai Telecom portal with the technology of WSRP Service. Now this system is well applyed in the daily work of market dapart.
This thesis will introduce background of itself, the purpose of study and situation at the present time. It will show the whole steps of this project, which are system architecture, function logic, popedom control, and database design. It also provides the pivotal technology introduction, including empolder environment, design of WSRP Service and some key codes.
Key Words: WSRP, Remote Portlet, Rebuild of Portal, Architecture