IBM Websphere Portal V5: A Guide for Portlet Application Development

 < Day Day Up > 

In this section, we show the most important steps required to develop a Web Service client portlet accessing a local or remote Web Service. In most cases, the following tasks will be executed:

  1. Develop a sample Web Service from a JavaBean. This Web Service will be used to test and run the Web Service client portlet. The following tasks are required:

    1. Create a sample Web project and import an existing JavaBean class.

    2. Using the available wizards in WebSphere Studio Site Developer, transform this JavaBean into a Web Service so it can be accessed from portlet applications.

  2. Using the wizards provided by WebSphere Studio Site Developer, create a Web Services client portlet project to access the sample Web Service.

The scenario illustrated in Figure 9-1 shows how portlet applications can be easily integrated with existent Web Services without the need to write extra code.

Figure 9-1. Web Services client portlet scenario

The development workstation used to create the sample application is illustrated in Figure 9-2 on page 293.

Figure 9-2. Development workstation

 < Day Day Up > 

Категории