Forum » Calling JavaScript from COBOL. C$JAVA; C$SYSTEM; c$xml; COBOL; Events; EXCEL; Excel OLE. I'm looking at the 'Sample Web Browser Program' from the ACUCOBOL 9.2.2 'Programmer's Guide to the Internet'. I am a JAVA developer but I have been tasked with calling a java program from an existing cobol. The java class and cobol program are in.
COBOL and the eBusiness World. Calling a COBOL Program from a Java Program. The guidelines are illustrated in a sample COBOL program and a sample Java program. If your COBOL program will call a Java method.Using JNI with COBOL The Java Native Interface (JNI) enables non- Java programs to access Java objects and classes. One of the variants of the cobcall() method provided in the com. Runtime. System class passes through a JNI pointer to the COBOL program being called. The JNI pointer is a pointer to a table of Java functions which enable non- Java code to access the Java run- time system. For ease of use with COBOL, javatypes. JNINative. Interface. JNINative. Interface is a group data item consisting of a set of procedure pointers to the JNI Java functions. One use of JNI with COBOL is to throw a Java exception from a COBOL program. The other way to access Java from COBOL is to use the domain support, as documented in the chapter Calling Java from OO COBOL.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2016
Categories |