Miklos,

You can call Java methods from a C++ program on z/OS.  The way you would go
about doing that is to use JNI (Java Native Interface).  JNI allows Java
programs to call native code (e.g. C++ methods), and vice versa.  It looks
like you'll want the C++ program invoking a Java method (the vice versa).

IBM has a redbook (http://www.redbooks.ibm.com) which delves into this
topic at least a bit.  Here's the direct link:

http://www.redbooks.ibm.com/abstracts/sg247291.html

One of the examples provided is Enterprise (OO) COBOL invoking Java, and
that should give you enough information to get going since it's quite
similar.  (I did a little searching but didn't find a good C++ invoking
Java example.)

I think we'd all be interested to learn your results, by the way.  Sounds
like an interesting project.

- - - - -
Timothy Sipples
IBM Consulting Enterprise Software Architect
Specializing in Software Architectures Related to System z
Based in Tokyo, Serving IBM Japan and IBM Asia-Pacific
E-Mail: [EMAIL PROTECTED]
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to