Comments
litl_phil wrote: While it's nice that Google and Acer share the vision of cloud-based computing, it's also worth noting that we at litl already have a webbook on the market (available at litl.com) that runs our own cloud-based OS. Unlike Chrome, litlOS is focused on creating a new and better web experience for the home, so we don't have the usual browser interface, we have our own innovative UI. In conjunction with easel mode (litl's inverted-V position) and our growing cohort of litl channels (special apps t...
Cloud Expo on Google News


2008 West
DIAMOND SPONSOR:
Data Direct
SOA, WOA and Cloud Computing: The New Frontier for Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
GOLD SPONSORS:
Appsense
User Environment Management – The Third Layer of the Desktop
Cordys
Cloud Computing for Business Agility
EMC
CMIS: A Multi-Vendor Proposal for a Service-Based Content Management Interoperability Standard
Freedom OSS
Practical SOA” Max Yankelevich
Intel
Architecting an Enterprise Service Router (ESR) – A Cost-Effective Way to Scale SOA Across the Enterprise
Sensedia
Return on Assests: Bringing Visibility to your SOA Strategy
Symantec
Managing Hybrid Endpoint Environments
VMWare
Game-Changing Technology for Enterprise Clouds and Applications
Click For 2008 West
Event Webcasts

2008 West
PLATINUM SPONSORS:
Appcelerator
Get ‘Rich’ Quick: Rapid Prototyping for RIA with ZERO Server Code
Keynote Systems
Designing for and Managing Performance in the New Frontier of Rich Internet Applications
GOLD SPONSORS:
ICEsoft
How Can AJAX Improve Homeland Security?
Isomorphic
Beyond Widgets: What a RIA Platform Should Offer
Oracle
REAs: Rich Enterprise Applications
Click For 2008 Event Webcasts
SYS-CON.TV
Top Links You Must Click On


WSRP Really Works!
How two competing portal server products can integrate with one another

WebLogic Portal - Create a Remote Portlet
Now it's time to create a remote (proxy) portlet. To do so, click the IBM WebSphere Portal v6.0 link. You can also click the IBM WebSphere Portal v6.0 node under Portal Resources->Library->Remote Producers.

Click the Selected Portlets link or tab. Click the Add Portlets button. In the Add Portlets dialog, click the checkbox next to IBM Java Portlet. Then click the Add button to move the portlet to the Portlets to Add list. Finally, click the Save button to save the changes and close the dialog. The portlet will appear in the Browse Selected Portlets table.

You'll also see the remote portlet (IBM Java Portlet) you created listed underneath the Portal Resources->Library->Portlets node. Notice that the remote portlet has a special icon to distinguish it from local portlets.

WebLogic Portal - Add the Remote Portlet to a Page
Adding a remote portlet is just like adding a local portlet to a page.(See Figure 3) If you're unfamiliar with how to do so, refer to the Portal Development Guide (http://edocs.bea.com/wlp/docs92/portals/index.html).

In our case, we've added the local portlet to the left column and the remote portlet to the right column.

Test the Portlets
Open a browser and navigate to your portal desktop (http://localhost:7001/BEAPortalWeb/appmanager/BEAPortal/SampleDesktop).

Notice that the remote portlet, IBM Java Portlet, has the same look and feel as the local portlet, BEA Java Portlet. The look and feel for a remote portlet can be modified the same way as the look and feel for a local portlet.

Now try out the two portlets.

In the BEA Java Portlet (local portlet), input a message in the text box. Click the Update Message button. (See Figure 4) The message should be echoed back inside the portlet.

In the IBM Java Portlet (remote portlet), click the Add Address link.(See Figure 5) Enter in a new address and click the Add Address button. The new address should appear in the list.

Notice that the remote portlet behaves like a local portlet. This is what we want. It should be transparent to the end user that the IBM Java Portlet isn't hosted by the consumer.

Congratulations! You've successfully consumed a WebSphere Portal, producer offered portlet using WebLogic Portal.

Conclusion
In this article, we saw how to use WSRP 1.0 to create portals consisting of both local portlets and remote portlets. We examined the first of two scenarios, where WebLogic Portal served as a consumer and WebSphere Portal served as a producer. In the next article, we'll explore a scenario where WebSphere Portal serves as a consumer and WebLogic Portal serves as a producer.

We used each vendor's portal administration console to configure a producer, create a remote portlet, and add the remote portlet to a page. We also tested the resulting portal pages and saw that the remote portlets looked and acted like local portlets.

One thing that we neglected to do was to try making a change to one of the producer offered portlets. Had we done so, we would have seen that the change would have been picked up the consumer automatically, without requiring any redeployment of the consumer's portal application. This helps reduce the cost of deployments, which is an important benefit of WSRP.

References
  •   WSRP 1.0 Specification (www.oasis-open.org/committees/download.php/3343/oasis-200304-wsrp-specification-1.0.pdf)
  •   BEA WebLogic 9.2 Federated Portals Guide (http://edocs.bea.com/wlp/docs92/federation/index.html)
  •   WebSphere Portal 6.0 Information Center (http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/index.jsp)

Sample Code
  •   BEAPortalEAR.ear - Contains the BEA Java Portlet
  •   IBMPortletWeb.war - Contains the IBM Java Portlet

About Matt Silver
Matt Silver is a courseware developer and trainer, currently serving as a senior consultant for Web Age Solutions.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

Hi Matt,

I have some problem with retrieving the producer, when i am entering the wsdl of my service(https) which is in WSRP and hosted on IIS, then its saying unable to retrieve producer.
And if i try the same in IE its getting the wsdl, now can you tell me where i am missing the configuration settings in WebLogic9.2.


Your Feedback
Ambuj wrote: Hi Matt, I have some problem with retrieving the producer, when i am entering the wsdl of my service(https) which is in WSRP and hosted on IIS, then its saying unable to retrieve producer. And if i try the same in IE its getting the wsdl, now can you tell me where i am missing the configuration settings in WebLogic9.2.
Enterprise Open Source Magazine Latest Stories . . .
Oracle seems to have divided the open source ranks over the MySQL delay it’s having closing its acquisition of Sun. Eben Moglin, the GPL’s most ardent defender and delineator, the lawyer who has worked hand in glove for years with the Free Software Foundation’s founder Richard Stallman...
Cloud computing is a game changer. The cloud is disrupting traditional software and hardware business models by disrupting how IT service gets delivered. Entrepreneurial opportunities abound as this classic disruptive technology begins to proliferate, so it is no surprise that SYS-CON'...
The irony is that Oracle has advanced MySQL, lost money in the process, and helped its competitors - all at the same time. When Oracle buys Sun and controls MySQL the gift (other than to Microsoft SQL Server) keeps on giving as the existential threat to RDBs is managed by Redwood Shore...
WSO2, the open source SOA company, today announced the launch of the WSO2 Cloud Platform. Available today, the new WSO2 Cloud Platform features a family of WSO2 Cloud Virtual Machines; WSO2 Cloud Connectors for enabling fast, secure cloud services; and the multi-tenant WSO2 Governance-...
Now, the open source Mozilla Thunderbird client software can be used with Open-Xchange collaboration software. The "Community OXtender for Thunderbird" software connector gives users full access to appointments and contacts stored in the Open-Xchange Server and enables them to use Thun...
Morph Labs, a leading provider of enterprise cloud computing technology, today announced an introductory trial of the Morph CloudServer, an open, standards-based server IT organizations can use to rapidly model and evaluate their cloud implementations. A miniature "Cloud Environment in...
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


SYS-CON Featured Whitepapers
ADS BY GOOGLE