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