Below are the steps you need to get started using FSM Tool.

1

Check your prerequisites

Note

To use FSM tool you need:

2

Download FSM Tool

Please see the FSM Tool Download Page.

3

Install FSM Tool

  1. Unpack the downloaded .zip file into $RHINO_HOME. For example:

    cd $RHINO_HOME
    unzip ~/fsm-tool-1.2.0.x.zip
  2. Set the properties rhino.home, slee.version, graphviz.dot, and xdoclet.lib in the $RHINO_HOME/fsmtool/example/build.properties file. For example (enter the correct values for your install environment):

    rhino.home=/RhinoSDK
    
    graphviz.dot=/usr/local/bin/dot
    #graphviz.home=/Program Files/Graphviz2.28
    
    xdoclet.lib=${rhino.home}/opencloud-xdoclet-2.1.1/libs

4

Try the "Hello World" example

Review the sample application that comes with FSM Tool, for an example of how to define a service’s FSM specification (which creates JSLEE service components, by generating an SBB class and extending it to implement state-machine action Java logic).

The multifsmsbb service that comes with FSM Tool is a simple example of two FSMs hosted in a single SBB.

Previous page Next page