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 TIBCO_HOME/spm/2.3/bin.
  2. Stop the server. You can manually stop the server by clicking CTRL+C on the server window.
  3. Restart the server by starting tibspm from TIBCO_HOME/spm/2.3/bin. By default, the tibspm uses tibspm.tra as its configuration file.
  4. 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.