Page 2 of 2

Re: Calling Java from Enterprise COBOL program

PostPosted: Sun Jun 04, 2017 9:00 pm
by danik56
I found IBM APAR PI63005: SUPPORT FOR INVOKING A JAVA EE APPLICATION RUNNING IN LIBERTY FROM A CICS PROGRAM
Quote from the apar description:

"This APAR provides support for a CICS program to invoke a Java
EE application running in a Liberty JVM server. You can invoke a
Java EE application either as the initial program of a CICS
transaction or by using the LINK, START or START CHANNEL
commands from any CICS program. To be invoked by a CICS program,
the Java EE application is required to be a plain Java object
(POJO) packaged in a Web ARchive (WAR) or Enterprise ARchive
(EAR).
There are three main reasons why you would want to invoke a Java
EE application from a CICS program:
-If you have some Java code as part of an existing web
application and you want to invoke it from a CICS application.
You only need to maintain a single piece of logic and your code
can access CICS resources using JCICS APIs.
-If you want to write a new piece of function in Java as part of
your CICS application. For example, if you want to use third
party libraries or APIs that already exist in Java.
-If you have existing COBOL applications, and you want to
re-implement those applications in Java. For example, if you
want to reduce the cost of maintenance, make the most of your
Java skills, or, if you want your applications to be eligible to
run on specialty engines rather than general processors."

This implies that calling a JAVA program via standard EXEC CICS LINK is now supported at the CICS TS 5.3 level.

Is the LIBERTY JVM Server included as part of CICS TS or is this a separately licensed component ?

Re: Calling Java from Enterprise COBOL program

PostPosted: Sun Jun 04, 2017 10:10 pm
by enrico-sorichetti
why nor carry on a bit of research Yourself ? :evil:

googling with Liberty jvm server

returned about 70000 hits, one of which pointed to
http://www.redbooks.ibm.com/redbooks/pdfs/sg248335.pdf

Re: Calling Java from Enterprise COBOL program

PostPosted: Mon Jun 05, 2017 12:37 am
by danik56
Thanks

Re: Calling Java from Enterprise COBOL program

PostPosted: Mon Jun 05, 2017 5:24 am
by Robert Sample
Liberty is part of Websphere Application Server, which is a separately licensed component of z/OS. If your site has WAS already at the right level of software, Liberty should be available. If your site does not have WAS installed, the product can be obtained from your IBM Partner after payment of the appropriate fee.

Re: Calling Java from Enterprise COBOL program

PostPosted: Mon Jun 05, 2017 1:07 pm
by danik56
According to this IBM Redbook: http://www.redbooks.ibm.com/redpapers/pdfs/redp5334.pdf

"The Liberty server in CICS is supplied with and licensed through the installation of CICS TS
for z/OS. It supplies the same Liberty technology as supplied with the IBM WebSphere
Application Server Liberty products, with a set of CICS specific features, which provide for the
integration with the CICS runtime"