X hits on this document

PDF document

WebSphere Portal Server and - page 4 / 22

44 views

0 shares

0 downloads

0 comments

4 / 22

WebSphere Portal Server and Web Services

Weather Web Service

Weather Info Cache

Internet

News

Portal

Portlet

Weather Portlet

News Content Cache

News Web Service

Figure 2: An Internet Portal displaying locally cached content

While local portlets in conjunction with appropriate content caching mechanisms provide very good response times, this approach is not well suited to enable dynamic integration of business applications and information sources into portals. Let us consider the following scenario: An employee portal manager wants to include a human resources service calculating variable pay for employees and an external weather service providing weather forecasts. One solution for this scenario is depicted in Figure 3 – a human resources portlet and a weather portlet run locally on the portal server and access remote web services to obtain the required information.

Weather Web Service

Weather Info Cache

Employee

HR

Portal

Portlet

Weather Portlet

HR Web Service

Figure 3: Example of local portlets using a web services

The HR portlet uses a HR web service to calculate the variable pay. By default, it displays a form to query the required input data, e.g. the employee’s position. When the employee provides the data to the HR portlet, it invokes the remote web service to calculate the variable pay based on that data. It receives the result from the web service and displays it as a page fragment. The weather portlet by default displays weather forecasts for configurable locations and allows the user to select locations in an edit mode. When the weather portlet is invoked during page

4

Document info
Document views44
Page views44
Page last viewedFri Oct 28 20:41:27 UTC 2016
Pages22
Paragraphs486
Words6216

Comments