Project WebSynergy Milestone 4 Developer's Guide

Using the Eclipse Portal Pack

    This section explains how to use the Eclipse Portal Pack and the plugins in Project WebSynergy. You need to perform the following tasks before using the Eclipse Portal Pack.

  1. Creating Runtime and Server for Project WebSynergy

  2. Creating a Runtime and Server for OpenPortal Portlet Container 2.0

Creating a Runtime and Server for Project WebSynergy

You need to create a runtime and server for Eclipse Portal Pack in order to deploy it on Project WebSynergy.

ProcedureTo Create a Runtime and Server for Project WebSynergy

  1. On Eclipse IDE, click the Window menu and select Preferences.

    The Preferences window appears.

  2. From the left pane, click Installed Runtimes.

    The Installed Server Runtime Environments appear on the right pane.

  3. Click Add.

    The New Server Runtime window appears. In this window, you can choose the runtime environment for a newly installed server.

  4. From the available runtime types, expand Sun Microsystems Inc and select WebSynergy. Select the Also create new local server check box.

  5. Click Next.

  6. Enter the JRE name, GlassFish Home directory, and the Domain Name information for Project WebSynergy.

    These details are useful to create a runtime for Project WebSynergy.

  7. Click Next.

  8. Enter the server address, server port, and the debug port information for Project WebSynergy.

  9. Click Finish.

    The Project WebSynergy server is created.

Creating a Runtime and Server for OpenPortal Portlet Container 2.0

You need to create a runtime and server for Eclipse Portal Pack in order to deploy it on OpenPortal Portlet Container 2.0.

ProcedureTo Create a Runtime and Server for OpenPortal Portlet Container 2.0

  1. On Eclipse IDE, click the Window menu and select Preferences.

    The Preferences window appears.

  2. From the left pane, click Installed Runtimes.

    The Installed Server Runtime Environments appear on the right pane.

  3. Click Add.

    The New Server Runtime window appears. In this window, you can choose the runtime environment for a newly installed server.

  4. From the available runtime types, expand Sun Microsystems Inc and select OpenPortal Portlet Container 2.0. Select the Also create new local server check box.

  5. Click Next.

  6. Enter the JRE name, GlassFish Home directory, and the Domain Name information for OpenPortal Portlet Container 2.0.

    These details are useful to create a runtime for OpenPortal Portlet Container 2.0.

  7. Click Next.

  8. Enter the server address, server port, and the debug port information for OpenPortal Portlet Container 2.0.

  9. Click Finish.

    The OpenPortal Portlet Container 2.0 server is created.