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.

$UD5 UD5:
$MW1 MW1:


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


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]