Running the Client API Application Example

You can run the tibspmexamples to take a look at how the Client API application works.

Procedure

  1. Open a command prompt and go to SPM_HOME/bin.
  2. Stop and restart the server.
    Note: To start the server, click Start > All Programs > TIBCO > SPM_HOME > TIBCO Service Performance Manager <version> > Start SPM Server. You can manually stop the server by clicking CTRL+C on the server window.
  3. Execute tibspmexamples.
    Note: Refer to the example source code distributed in src.zip to know how to use client Java API. You need to set appropriate PATH and CLASSPATH to compile and execute such programs. See tibspmexamples.tra to understand the list of all libraries needed.

    The list of properties for configuring the samples that are shipped with the product are provided in Client Properties.