Integrating Web Applications

You can integrate, or import, an existing Web application into an enterprise application in WebLogic Workshop. Once in WebLogic Workshop, you can quickly and easily give the Web application a portal user interface, add personalization and campaign functionality to it, and take advantage of WebLogic Portal's content and user management services.

If you want to be able to create portlets out of resources in your Web application, your Web application must have one of the following types of resources out of which to create portlets. If you do not have any of these types of resources at the time you integrate your Web application into WebLogic Workshop, you can create them after you integrate:

To integrate an existing Web application into WebLogic Workshop:

  1. In WebLogic Workshop, open your application (.work file).
  2. In the Application window, right-click the application directory and choose Import --> Import Project. The Import Project window appears.
  3. In the right pane of the window, select Web Project.
  4. Click the Browse button in the Directory field and select the Web application's root directory.
  5. Make sure the Copy into Application directory option is selected.
  6. You can change the directory name of the Web application in the Name field. The name you use is part of the URL used to access the Web application.
  7. Click Import.

    After you import your Web application directory into WebLogic Workshop, a dialog box may appear that asks you if you want to add missing files to the Web project. Click No.
  8. Install portal in the application and Web application:
    1. In the Application window, right-click the application directory and choose Install --> Portal.
    2. Right-click the Web application directory and choose Install --> Portal.

Your Web application is now a portal Web project. You can give it a portal interface, add portal functionality, and build portlets (assuming you have one of the resources types listed at the beginning of this topic).

Related Topics

Developing Web Applications

Building Portlets