[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 363
  • Last Modified:

calling Cobol client to java application

Hi,

Please help me, there is a Legacy application built on cobol, Is there is any connector which can
help us to connect cobol client application getting access to Java application...

I googled it, I saw J2ee connector ?  some of my friend inform me to go for J2ee connector, is this right approach to access java application... if any body has come across these kind of issues, Please let me know

Thanks
0
roy_sanu
Asked:
roy_sanu
  • 2
  • 2
1 Solution
 
Gary PattersonVP Technology / Senior Consultant Commented:
COBOL on what platform?
0
 
gheistCommented:
Do you want to extend COBOL appliaction with fresh Java code or other way around?
0
 
roy_sanuAuthor Commented:
COBOL on mainframe,

the cobol program must pass few parameters( amounts) to the java program, the java program will process those amounts and calculate taxes and return back the results to the cobol program.
0
 
gheistCommented:
Can you compile curl or wget on your mainframe to talk HTTP?
0
 
Gary PattersonVP Technology / Senior Consultant Commented:
Disclaimer: I haven't worked on IBM mainframe for years, and I haven't done any Java development on zOS.

But on IBM i, one way to call Java from native programs is JNI, and both IBM i RPG and COBOL have JNI integration capabilities built-in.;  Looks like Enterprise COBOL on zOS does, too (includes sample code):

Chapter 16 of the Enterprise COBOL for z/OS Programming Guide SC23-8529-01 explains how to use JNI interface between COBOL and Java.

http://www-01.ibm.com/support/docview.wss?uid=swg27020750

The IBM Redbooks site has extensive information on Java in the zOS environment, just go here and search for "Java":

http://www.redbooks.ibm.com/portals/systemz

- Gary
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now