# Oracle WebCenter Services Sample Portlets - WebLogic Portal Quickstart

#### Date: March, 2009

## Table of Contents

- Introduction
- Using Oracle Workshop for WebLogic
- Using the Web-based Tools
- Additional References

## Introduction

This document provides instructions for deploying the Oracle WebCenter Services Sample Portlets on Oracle WebLogic Portal 10gR3. It is assumed that the reader is familiar with this product and the available tools; if not please consult the product-specific documentation.

## Using Oracle Workshop for WebLogic

Oracle Workshop for WebLogic includes the Import Portlet Wizard to simplify the addition of Java Portlets to a portal web project. For detailed information on this tool, please refer to the Importing and Exporting Java Portlets documentation. The instructions that follow are meant to supplement the documentation with details about the files that should be imported.

When using the wizard, please ensure that the following files are included. You will need to explicitly select these on the optional step. Please use the following table as a guide for selecting these files:

Directory | File(s) | Description
--- | --- | ---
/samples | All | Sample JSPs, etc.
/WEB-INF/classes | All | Samples classes
/WEB-INF/lib | All | Java Archive (JAR) files
/WEB-INF | portlet.xml | JSR 168 Portlet definition file
/WEB-INF/src | All | Sample source code

## Using Web-based Tools

The sample portlets are packaged as a Java Web Archive (WAR) file that can be deployed using the web-based tools. Please note that this requires the use of multiple tools and an understanding of how each one operates. The following links contain information on the use of these tools:

- Deploying JSR-168 Portlets in a WAR File
- WebLogic Server - Administration Console Online Help
- WebLogic Portal - Federated Portals Guide

The key steps include the following:

1. Deploy the portlet WARs using the WLP JSR 168 .war Import Utility
2. Ensure applications are active using the WebLogic Server Administration Console
3. Create consumers using the WebLogic Portal Administration Tool
4. Add the portlet(s) to a portal

## Additional References

- Oracle WebCenter Wiki and Blog Server Installation, Configuration and User's Guide
- Oracle WebLogic Portal (WLP)