Java SE |
Top Previous Next |
The Java client is designed to work with any JRE v. 1.3 or newer installation that provides access to the standard Java sockets library. To use it, one must make the kbmMWJavaClient.jar Java archive accessible for any Java projects needing access to a RW NetServer. In some environments its enough to specify the JAR file in the CLASSPATH or via the -cp option to the Java application. In most Java development IDE's there are ways to configure accessible JAR files. Please consult the documentation for your Java development tool. The Java based TkbmMWSimpleClient resides within the JavaClient package must be referred to as being member of the JavaClient package.
The transport that the Java client connects to on the RW NetServer must be configured to use STANDARD streamformat.
Sample
See the java/sample folder for an example of a java client:
Javatest.java: If used with the sample data, the output will be:
err=0 node=8184 dist=0.300296032180195
More documentation
Find more documentation at: http://www.components4programmers.com/downloads/kbmmw/documentation/kbmMW_Java_client.pdf
|