9.4. Running the portlet

Now that you have created the portlet, you will deploy it and execute it on the local Portal test environment. For example, execute the following steps to deploy the portlet:

1.
Run the portlet by right-clicking MySimplePortlet project in the Project Explorer view and select Run → Run on server....
2.
In the Define a New Server window, select Choose an existing server option and for Select the server that you want to use, select WebSphere Portal V5.1 Test Environment @ localhost. Also, use default port 9081.

Note

You can also check the Set server as project default checkbox, so you will not be prompted again when you run the portlet.

3.
The portlet executes and you will see it in the built-in browser.

9.4.1. Executing ...

Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.