Testing widgets

After you have deployed the EAR file to the server and registered your widgets, you can test them.

Before you test widgets, you must have packaged and deployed them and registered them.

Let's test our widgets.

  1. Start your server.
  2. Launch a Web browser for Business Space widgets. For example, launch a browser with a URL like http://localhost:9080/BusinessSpace. The port number will depend on what other server products you have. Typically, 9080 or higher will work. Login to Business Space.
  3. At this point testing your widgets follows the same process as shown in Working with the sample widgets.
Our widgets were simple though they demonstrated the important concept of using events to communicate between widgets. Your needs for your own widgets will be different. You should browse the Widget programming guide to get links to the iWidget specification that is the basis for Business Space widgets and to understand some areas that are unique to Business Space widgets.