This tutorial guides you through enabling a Commerce Enabled Portal portlet to communicate with a portlet from a non WebSphere Commerce (or third party) application. As a result your Commerce Enabled Portal portlet will be able to listen to messages from a third party portlet, and react appropriately to the message.
In this tutorial you will learn how to extend a Commerce Enabled Portal portlet in order for the portlet to communicate with a third party portlet. At the end of this tutorial, the extended Commerce Enabled Portal portlet (generic catalog portlet) will be able to listen and respond to messages from a sample third party portlet.
As part of this tutorial, you will do the following:
- Understand how to extend a Commerce Enabled Portal portlet.
- Define a portlet in portlet.xml and web.xml
- Create a third party portlet application project using sample files
- Create a new page to display the new portlets.
Pre-requisites
Before you start this tutorial, you must do the following:
- Install the Commerce Enabled Portal development environment, including publishing the consumer direct Commerce Enabled Portal starter store.
- Download the sample code provided for these tutorials. For more information, see Commerce Enabled Portal tutorials sample code.
- Complete the Commerce Enabled Portal tutorial: Understanding the development environment tutorial.
- Complete the Commerce Enabled Portal tutorial: Adding a WebSphere Commerce feature to a Commerce Enabled Portal tutorial.
Time required
You will need approximately 2 hours to complete the steps in this tutorial.
Starting the tutorial
To complete the tutorial, do the following tasks: