Skip Headers
Oracle® Fusion Middleware Portal Development Guide for Oracle WebLogic Portal
10g Release 3 (10.3.4)

Part Number E14243-06
Go to Documentation Home
Go to Table of Contents
Go to Feedback page
Contact Us

Go to previous page
Go to next page
View PDF

6 Integrating WebLogic Portal into Existing Web Applications

This chapter explains how to add WebLogic Portal functionality into an existing Oracle Enterprise Pack for Eclipse web application.

This chapter contains the following sections:


If you want to add an existing web application to WebLogic Portal, see Chapter 5, "Integrating Existing Web Applications into WebLogic Portal."

6.1 Introduction

You can transform an existing web application implemented with Oracle Enterprise Pack for Eclipse into a Portal web project by installing the necessary WebLogic Portal–specific facets into it. Then you can give the web application a portal user interface, add personalization and campaign functionality, and take advantage of WebLogic Portal's content and user management services.


These instructions assume that you have an existing web application that conforms to the requirements of the Oracle Enterprise Pack for Eclipse environment, and includes an EAR Project and a Oracle Enterprise Pack for Eclipse Web Project.

6.2 Integrating WebLogic Portal into an Existing Web Application

Integrating a web application into a WebLogic Portal environment involves the following steps:

To integrate an existing web application into Oracle Enterprise Pack for Eclipse and add WebLogic Portal functionality, follow these steps:

  1. In the Package Explorer view, right-click the EAR Project and choose Properties.

  2. Select Project Facets in the tree that is displayed in the left pane of the dialog.

    The project facets associated with this EAR project display in the table, as shown in Figure 6-1.

    Figure 6-1 Project Facets Associated with Non-Portal EAR Project

    Description of Figure 6-1 follows
    Description of "Figure 6-1 Project Facets Associated with Non-Portal EAR Project"

  3. Select the WebLogic Portal check box.

    All the features for the WebLogic Portal facet are selected by default.

  4. Click Finish.

    The Project Facets table in the properties dialog displays the facets that you just added.

  5. Click OK.

    The Package Explorer view includes the new portal-related content.

  6. Repeat steps 1 through 5 to add WebLogic Portal facets to the Web Project.

    When you are finished, the display in the Properties view includes the WebLogic Portal facets, and the tree in the Package Explorer view shows the added portal-specific shared J2EE libraries.

  7. Associate your portal-enabled project with a WebLogic server that is customized for use with WebLogic Portal. If you need to create a new server that is enabled for use with WebLogic Portal, refer to Section 4.2, "Portal Perspective."

You can now use WebLogic Portal features to create portlets and to assemble and manage the portal environment.