![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: We will be upgrading to OVMS 7.2 next month. We would like to add a Web front end to a COBOL/RMS application. Does VMS/Java have RMI capability and does it have RMS class files? The Answer is : Java on OpenVMS Alpha has the same core set of application programming interfaces (APIs) as found on other platforms. Including RMI. Java on OpenVMS Alpha does not supply any special support for RMS files, though file I/O operations to OpenVMS files using standard Java Stream I/O API will operate. If your application requires access to RMS data structures such as FABs and RABs, you will need to write some native C or C++ code that hooks into the Java code via the JNI (Java Native Interface) API. This C code can then be used as a bridge to existing COBOL RMS applications, using the mixed-language programming capabilities of OpenVMS.
|