Scrolling Twitter Gadget in Oracle WebCenter in Less than 2 Minutes

In a previous post we saw how to build a twitter portlet using the Fusion Middleware stack in a few minutes. If you’re more on a quick prototyping or proof of concept project, you can do something similar or even more visual without any coding whatsoever. Twitter has a set of gadgets that you can integrate into your Web site. Here are the more-or-less trivial steps:

  1. Find the gadget you want to use: http://twitter.com/about/resources/widgets
    For example, if it’s the search widget, you can customize it by specifying the Search Query, the Title, and the Caption. 


    When done, click the Finish and Grab Code button and copy the source provided.

  2. Create a WebCenter page.
  3. Drop an HTML Markup component on the page and specify the Value field by pasting the code you copied to the clipboard above. The parameters are self-explanatory, modifying them is very straight-forward.
  4. Save your changes, and return to your page. Here is what my scrolling Twitter gadget looks like.

Building a Live Twitter Portlet in 5 minutes

John Brunswick from Oracle demonstrates how easy it is to build a Twitter portlet and consume it in Oracle WebCenter without writing a single line of code.

In this easy to follow youtube video John walks us through the steps end-to-end, covering in detail how to:

  • Consume an XML feed in Oracle JDeveloper
  • Generate the XSD using JDeveloper
  • Create an ADF URL data control
  • Visualize the Twitter data as a table on a new JSF page
  • Expose the JSF page as a standards-based portlet (JSR 168/WSRP 2.0)
  • Register the WSRP 2.0 portlet producer with WebCenter
  • Drop the Twitter portlet onto a WebCenter page using Oracle Composer

Free WebCenter Book

I’m giving away three copies of the Oracle WebCenter 11g Handbook to the top 3 bloggers/tweeters about Oracle WebCenter during Oracle OpenWorld 2009 (Oct 11-15).

To be considered for the price, all you need to do is post a link to your blog and/or twitter name here as a comment.

The book is scheduled to be released in December 2009. I will announce the winners here and contact them in person to discuss shipping information.

WebCenterHandBook