 | Level: Intermediate Prabhu Kapaleeswaran (appserv@yahoo.com), Technical Architect, CSS Inc. Desmond Andrades (desmondandrades@hotmail.com), Senior Software Engineer, KORBA Consultants
14 Jun 2004 You can get information for your Web sites from a variety of sources, including market feeds from organizations such as Reuters, Bloomberg, and others. Because these feeds are often charged on a per connection basis, it is more cost effective to use the data in multiple portlets, than to re-access the data each time you need to populate a portlet. Also, if you access the data for a given portlet multiple times, it may change between accesses. Populating corresponding portlets using different snapshots of the data could provide inconsistent results across a page.
This article describes how to write a portlet service to cache data at the portal level from a stock feed,and how to access this portlet service from a portlet.You could use the techniques presented here to populate multiple portlets with data from a single access.
This article is primarily for portal and portlet developers who are already familiar with portlet programming for IBM® WebSphere® Portal V5.
Downloads | Description | Name | Size | Download method |
|---|
| Code samples | stockfeedportletservice.zip | 17 KB | FTP | HTTP |
|---|
| Article in PDF format | 0406_kapaleeswaran-PortletService.pdf | 1.7 MB | FTP | HTTP |
|---|
About the authors  | |  | Prabhu Kapaleeswaran is a technical architect with CSS Inc., currently consulting for one of the world’s largest financial corporations. He has extensive hands on experience in developing access integration solutions on various Portal Servers. He has also worked on architecting solutions to extend access to mobile devices and multi-threaded servers in .NET (C#) and Java. His current interest are in business integration through service oriented architectures. He holds a MS in Computer Science from Asian Institute of Technology. |
 | |  | Desmond Andrades is a Sr. Software Engineer with KORBA Consultants Inc., currently consulting for one of the world’s largest financial corporations. He is involved in providing effective J2EE based solutions to address enterprise business needs. His interests are in scalable presentation frameworks and Portals. |
Rate this content
|  | |  |