Implementing WSRP-compliant Portlets

For more detailed infomation on how WSRP works with WebLogic Portal, please refer to Using WSRP with WebLogic Portal.

WSRP—Web Service for Remote Portlets—is a web services standard that allows you to “plug-n-play” visual, user-facing web services with portals or other intermediary web applications. It allows you to create portlets that can either provide content to other portlets or consume content from other sources, even those far removed from your enterprise.

Producers and Consumers

WSRP-compliant portlets are either hosted on a producer ("producers") or created on a consumer ("consumers").

Producers

Producers host portlets and provide such services as self-description, mark up, registration, and portlet management. Producers can optionally manage the registration of consumers and require them to pre-register prior to interacting with portlets. A registration establishes a relationship between Consumers and Producers.

Producers are further classified as either complex or simple.

Since all WLW-created portlets are, by default, hosted on producers, in this documentation, they will be referred to simply as portlets.

Consumers

Consumers aggregate remote portlets and presentt hose portlets to end users. Consumers route requests from users to the appropriate producer, which, in turn processes the request and sends results back to the consumer. The Consumer aggregates the results coming from various producers and send the final result back to the user. In their role as proxies for producers, consumers proxy for end users, consumers provide the necessary separation of the large amount of traffic flowing between them and the producers. They also ensure that all interactions are kept private to that specific user during the session.

In this documentation, portlets created on a consumer are referred to as "remote portlets."

Creating and Maintaining Remote Portlets

The following topics will show you how to use WebLogic Workshop to build and maintain WSRP-compliant remote portlets and how to modify portlets hosted on WSRP-compliant producers:

Creating a Portal Application and Portal Web Project

Building Portlets

Customizing Portlet