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.
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 |
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:
The key steps include the following: