O'Reilly logo

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools by Ryan Wilson, Gianfranco Rutigliano, George Kroner, Belen Gonzalez, Karla Galvan, Cristiano Cesario, Juan R. Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required