-    OVERVIEW JNI/UD5+MW1 DRIVER    

Java Native Interface for Uniface, UD5+MW1 Driver

Use the driver to call Java classes using either the sql or activate proc statements.

Set the UD5 path, and optionally the MW1 path and the services that you wish to re-direct to the MW1(UD5) driver.

[PATHS]
$UD5 UD5:
$MW1 MW1:

[SERVICES_EXEC]
HELLOWORLDSWING $MW1:HelloWorldSwing
COMPUTE $MW1:COMPUTE

You can use the SQL workbench, or sql proc statement to start a java class:

sql "HELLOWORLDSWING.EXEC","ud5"

If you are using Uniface 7.2.04 or higher (Eg: Uniface 9.6.05), you can use the activate proc statement to start a java class:

activate "COMPUTE".ADD(1,2)
askmess "Result of 1+2=%%$status","ok"

For more information please refer to these links:

$Revision: 1.12 $ $Date: 2014/11/05 02:24:16 $[go to top]