Hi there,
What you want to do depends much on where your Java program resides.
If your Java program is running on z/OS and in the same LPAR as the COBOL program I'd use WOLA connection pooling that will allow you connect COBOL and Java (bidirectionally) with the same techniques as if you were using JDBC. You need to run your Java program inside a WebSphere Liberty (not Open Liberty it must be WebSphere Liberty). Also, if the COBOL program is running on CICS it's direct and simple to invoke Java programs on CICS Liberty (that is, Liberty running on CICS).
More information is needed for a more precise advice.
Regards,
D.
------------------------------
Diego Cardalliaguet
Europe GEO Technical Sales
IBM
------------------------------
Original Message:
Sent: Tue October 05, 2021 03:02 PM
From: Kari Nagle
Subject: Spinoff: Calling Java from IBM Z Cobol Application
Similar to Aiden's message below...my team is trying to figure out how to call an external Java Class from our IBM Z Cobol application. Does anyone know what utilities we need to use?
Thanks!
Kari
------------------------------
Kari Nagle
------------------------------