Web Services for Remote Portlets

来自开放百科 - 灰狐
跳转到: 导航, 搜索
Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Web Services for Remote Portlets Thanks, Wikipedia.

The OASIS WSRP standard defines pluggable, user-facing, interactive web services with a common, well-defined interface and protocol for processing user interactions and providing presentation fragments suitably for aggregation by portals. WSRP standardizes web services at the presentation layer on top of the existing web services stack, builds on the existing web services standards and will leverage additional web services standards efforts, such as security efforts now underway, as they become available. The WSRP interfaces are defined in the Web Services Description Language (WSDL). In addition, WSRP defines metadata for self-description for publishing and finding WSRP services in registries. All WSRP services are required to implement a SOAP binding and optionally may support additional bindings.

远程 Portlet Web 服务 (Web Services for Remote Portlets,WSRP) 是 OASIS 创建的 Web 服务标准,它允许在门户或其他中间 web 应用程序中提供可视化的、即插即用的、面向用户的 web 服务。

优点

  • 不仅提供 Web 服务数据,还提供 Web 服务表示。
  • 互操作性
  • 可移植性
  • 包含部署选项
  • 受到行业中各大公司的支持

WSRP 引入了 portlet Producer 和 protlet Consumer 的概念。

  • Consumer 将 WSRP 兼容 portlet 整合到门户中,同时管理与最终用户的交互。
  • Producer 管理基于 WSRP 并由 Consumer 调用的 portlet。

Producer 被设计为 portlet 的容器。Producer 提供一些服务,如:自我描述、标记、注册以及 Portlet 管理。Producer 能够有选择地管理 Consumer 的注册,并要求 Producer 在与 portlet 交互之前预先注册。注册在 Consumer 与 Producer 之间建立了一种关联。

Consumer 在本质上与代表最终用户的路由器是相似的。Consumer 将用户请求发送给适当的 Producer。Producer 依次处理这些请求并将结果发送回 Consumer。Consumer 将整合来自不同 Producer 的结果并将最终结果返回给用户。由于 Consumer 代表最终用户,因此在 Consumer 之间存在许多特定于用户的信息。正如我们所期望的,Consumer 提供了信息间隔,并在互动过程中保护特定用户所有互动的私有性。

WSRP 最强大的功能之一就是能够动态地使用来自其他服务器的应用程序。您可以设置一个 Consumer Portal,并对网络中可用的、来自 Producer Portal 的不同 portlet 进行动态查询和关联。结果将是一个全新的门户,它能够动态地集成新功能以简化业务流程和为门户用户授权。

Wsrp.gif

开源实现

相关联接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱