Verify your WebSphere Application Server environment
In this section, you will verify your WebSphere Application Server environment with the Feature Pack for CEA, make sure that the PlantsByWebSphereAjax sample (included with the feature pack) is installed, and ensure that the communications functions in the application are working properly.
- The first step in the verification process is to log into the WebSphere
Application Server administration console and verify that the
PlantsByWebSphereAjax sample is installed and in the started state
Figure 1. PlantsByWebSphereAjax application listing
- Verify that the standard cobrowsing function in the sample application
works as expected. Open this URL:
http://<host>:<port>/PlantsByWebSphereAjax/index.htmlwhere host represents the host name for your WebSphere Application Server installation and port represents the default HTTP port being used by your server instance. You should see the page shown in Figure 2.
Figure 2. PlantsByWebSphereAjax sample home page
- This tutorial explains how you can extend the Collaboration Dialog and
Cobrowse widgets in order to deliver instant messaging capabilities in
cobrowsing (linked) sessions. To see both of these widgets in action
as they are shipped with the feature pack, start a cobrowse session
in the sample application by clicking on the Cobrowse link in the
upper right section of the toolbar. The panel shown in Figure 3 will
display, which enables you to initiate and participate in cobrowse
sessions using the Collaboration Dialog and Cobrowse widgets.
Figure 3. PlantsByWebSphereAjax sample cobrowse page
- Click the Create button to display the panel shown in
Figure 4. (If the Create
button is disabled Figure 3, it is likely that the Communications
Enabled Applications service has not been enabled for your application
server. Refer to the setup instructions for more information.)
Figure 4. Cobrowse session creation
- Copy the value of Invitation Link. From a different browser, open
the URL specified from the Invitation Link. When the URL has been opened
in a different browser, a cobrowse window will appear in both
browsers. In the browser where the link was created and the session
initiated, you will see the cobrowse window shown in Figure 5.
Figure 5. Cobrowse window
- You can now use the buttons in the top toolbar to interact with your cobrowsing participant. Using the function provided in the cobrowse session, your participating colleague can follow as you navigate the site, highlight important items on the page, share data, and switch control between you and your participant. After completing this tutorial, you will add instant messaging to that list of capabilities.