Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Creating and using a stock feed portlet service with WebSphere Portal V5

Prabhu Kapaleeswaran (appserv@yahoo.com), Technical Architect, CSS Inc.
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 (desmondandrades@hotmail.com), Senior Software Engineer, KORBA Consultants
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.

Summary:  You can get information for your Web sites from a variety of sources, including market feeds. Because these feeds are often charged on a per connection basis, it is more cost effective, and your data will be consistent, if you re-use the data from a single access than if you re-access the data each time you need it. This article describes how to write a portlet service to cache data at the portal level, and how to use to use the portlet service from a portlet.

Date:  14 Jun 2004
Level:  Intermediate

Activity:  908 views
Comments:  

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

DescriptionNameSizeDownload method
Code samplesstockfeedportletservice.zip17 KBFTP|HTTP
Article in PDF format 0406_kapaleeswaran-PortletService.pdf1.7 MBFTP|HTTP

Information about download methods          Get Adobe® Reader®


Biographies

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.

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=WebSphere
ArticleID=16200
SummaryTitle=Creating and using a stock feed portlet service with WebSphere Portal V5
publish-date=06142004
author1-email=appserv@yahoo.com
author1-email-cc=
author2-email=desmondandrades@hotmail.com
author2-email-cc=