|
SYS-CON.TV Webcasts
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
Top Links You Must Click On
Feature WSRP Really Works!
How two competing portal server products can integrate with one another
By: Matt Silver
Mar. 27, 2008 11:00 AM
WebLogic Portal - Create a Remote Portlet 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 In our case, we've added the local portlet to the left column and the remote portlet to the right column.
Test the Portlets 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 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
Sample Code
Reader Feedback: Page 1 of 1
Your Feedback
Enterprise Open Source Magazine Latest Stories . . .
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||