Skip navigation.

Using WSRP with WebLogic Portal

   Previous Next vertical dots separating previous/next from contents/index/pdf Contents View as PDF   Get Adobe Reader

Introduction to WSRP

The WSRP Standard

WSRP Portlet Type Support

Why Use WSRP?

WSRP Decouples the Deployment and Delivery of Applications

WSRP Delivers both Data and its Presentation Logic

BEA's Implementation of WSRP Requires Little or No Programming

Other Benefits of WSRP

Producers and Consumers

Producers

Simple Producers

Complex Producers

Complex/Simple Producer Features Matrix

Consumers

WSRP and WebLogic Portal

How WSRP Works

WSRP-compliant Portlet Lifecycle

Development Time

Deployment Time

Note on Localization of Remote Portlets

Working with Remote Portlets

Building a Simple Remote Portlet

Modifying, Customizing, and Disabling a Remote Portlet

Setting Preferences on a Remote Portlet

Applying a Theme to a Remote Portlet

Other Look-and-Feel Topics

Using Backing Files with Remote Portlets

Setting a Timeout Value on Remote Portlets

Setting the Default Timeout for Remote Portlets

Setting the Timeout for Individual Remote Portlets

Establishing Interportlet Communications with Remote Portlets

The WebLogic Portal IPC Model

Event Handlers

Events

Event Actions

How IPC is Implemented

Implementing IPC with WSRP: Example

Step 1: Set Up Your Environment

Create the Domain

Create the Portal Application

Create the Web Applications (Web Projects)

Summary

Step 2: Create the Producer Portlets

Create the JSP Files and Portlets

Create the Backing File

Attach the Backing File

Add the Event Handler to bPortlet

Test the Application

Summary

Step 3: Create the Consumer Portlets

Set Up the Exercise

Create the JSP Portlet

Create the Remote Portlet

Summary

Step 4: Test the Application

Build the Portal

Test the Portal

Special Considerations for Remote Portlets

Understanding Backing Files

What are Backing Files?

Which Controls Support Backing Files?

How Backing Files are Executed

Thread Safety with Backing Files

Working with Producers

Using WSRP in a Basic WebLogic Server Domain

Getting Started

Configuring the WSRP Producer

Modify the CLASSPATH for the WebLogic Server Domain

Modify the Struts Application

Testing the Producer

Consuming the Producer Portlet

Using WSRP in a WebLogic Express Server Domain

Enabling Portlets on the Producer

Best Practices for Implementing WSRP

Portlet Programming Guidelines

Performance Tuning Recommendations

Producer Tuning

Consumer Tuning

Avoid Moving Producers

Upgrading Simple Producers from Service Pack 3

Other Guidelines

Configuring Session Cookies

Using Local Proxy Mode to Avoid Deadlocks

Implementing Custom Data Transfer

Custom Data Transfer Interfaces

Implementing the Interfaces

Implementing Interfaces in a Complex Producer: Example

Step 1: Set Up the Environment

Step 2: Create the Producer JSP and Portlet

Step 3: Federate zipTest.portlet to the Consumer

Step 4: Create and Attach a Backing File to the Consumer

Step 5: Test the Application

Using this Example in a Simple Producer

Deploying Your Own Interface Implementations

Implementation Rules

Local Proxy Support

Why Use Local Proxy Mode?

Deployment Configuration

When to Use and Not Use

Maintaining Session State

Monitoring and Logging Remote Portlet Performance

Monitoring Producer/Consumer Message Logs

Creating Custom Logs

Establishing WSRP Security

Access Control

Security Recommendations

Setting Security Constraints on Resources

Creating a Resource Connection Filter

Secure WSRP Messages

Manage User Identity

What is Single Sign-on?

How Single Sign-on Works with WSRP

The Signed Certificate

The Java keytool Utility

Secure the /producer Path

Establishing Single Sign-on with Remote Portlets: Example

Step 1. Set Up the Environment

Step 2. Create the Login Portlet and Establish SSO with a Remote Portlet

Create the Log-in Page Flow Portlet

Create a Log-in Portal

Create a Portlet on the Producer

Federate the Producer Portlet to the Consumer

Test the Log-in Portlet

Summary

Step 3: Break the Log-in Portal

Rename the .jks File

Retest the Portal

Step 4: Obtain and Implement a Signed Certificate

Before You Begin

Generate a New Keystore

Create the Certificate Signing Request and Import the Signed Certificate

Import the Signed Certificate

Step 5: Update the Consumer mBean

Step 6: Update the WSRP Identity Asserter

Step 7: Test the New Keystore

Securing the WebLogic Administrator's Logon Information

Encrypting Passwords

Note on Changing Passwords

 

Skip footer navigation  Back to Top Previous Next