Deploying the sample widgets

Deploying the sample widgets to a runtime is the first step to working with the provided sample widgets.

You should have read the Recommended learning path to developing widgets.

Your first step in learning about widgets that have already been created for you is to deploy them. Creating widgets, like applications, involves a development phase, when you code them, and a runtime phase, when you put your widgets on a runtime and work with them as your users will. Since your widgets have already been built, the development phase is finished though we will discuss it when we get to the section about building your own widgets. Putting your widgets on a runtime is known as deployment and that's what you will do now.

To deploy the sample widgets to the runtime, follow these steps. In our example, we were deploying to the WebSphere Process Server in WebSphere Integration Developer.

  1. Right-click the server. From the menu, select Start. Once running, select Administration > Run administrative console and log on to the Integrated Solutions Console.
  2. In the navigation, expand Applications > Install New Application. Beneath Path to the new application, browse to the EAR file, BSpaceSamples.ear. You will find it in this path: <installdir>\profiles\<profilename>\installableApps.

    profiles in some products is pf.

  3. Click Next. In the Select installation options, you will see IBM_BSPACE_SAMPLES as the application. Accept the defaults and click Next.
  4. In the Map modules to servers page, select BSpaceWidgetsSamples and click Next.
  5. In the final Summary page, click Finish.
  6. Save your work to the master configuration and log out of the Integrated Solutions Console.

You have deployed the sample widgets. Now you must register the sample widgets with the runtime as described in Registering the sample widgets.