Java Driver Protocol Properties dialog box

Selecting the Java protocol and then clicking Properties opens the Java Driver Protocol Properties dialog box.

Type has two options:

  • Class (default)
  • Application

This corresponds to the DRIVERTYPE property in the DRIVER section.

The Class text box shows the class name of the Java driver. It corresponds to the CLASS property in the DRIVER section. This text box is read-only. Click Browse beside the text box to select a valid class from Class Chooser dialog box.

A valid class is one that implements any required driver methods according to the naming convention. For example, if the driver type is Application, the doStart and doStop methods are required and must be implemented in the class.

If the doMsg and doReply methods both are implemented in the selected class, then a dialog box opens. In this dialog box, you can determine which one should be the Run method of the Java driver.

After a class is selected, the jar file or the directory that contains the class is automatically be added to the Classpath.