Execute Using CALLJAVA

How to:

You can invoke a user-written JAVA class with the CALLJAVA command from your user session or EDA API session. This usage assumes the desired class is in a jar on the CLASSPATH of the running server.


Top of page

x
Syntax: How to Use CALLJAVA to Execute a JAVA Class
CALLJAVA class,parameter1, parameter2, ...

where:

class

Is the full name of the class to be invoked.

parameter1, parameter2, ...

Are the remaining parameters which must be passed to the JAVA class according to the rules described in Passing Parameters.



Example: Calling ibi.cjsamples.cjsamp Using CALLJAVA
CALLJAVA ibi.cjsamples.cjsamp,parameter1,
 "subparm1=val1,subparm2=val2",simple parameter3
-EXIT

iWay Software