Rather than making a REST call to a service, wed like to deploy the java to OSS and call from COBOL for faster response time. What are our options?
Bob, to answer this, you'll need to say what technology(s) are used in the Java app.
For example, if the apps are Tomcat-style (listening on web ports), it's possible to use the NSJI library to switch from TCP/IP to $RECEIVE.
The resulting JMV can then be put into a Pathway server class, and COBOL can use SERVERCLASS_SEND_ calls.
Please share more detail so that appropriate solutions can be recomended.
Bill