Calling Java from Enterprise COBOL program



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Re: Calling Java from Enterprise COBOL program

Postby danik56 » Sun Jun 04, 2017 9:00 pm

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 ?
danik56
 
Posts: 22
Joined: Tue May 23, 2017 2:19 am
Has thanked: 0 time
Been thanked: 0 time

Re: Calling Java from Enterprise COBOL program

Postby enrico-sorichetti » Sun Jun 04, 2017 10:10 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3002
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Calling Java from Enterprise COBOL program

Postby danik56 » Mon Jun 05, 2017 12:37 am

Thanks
danik56
 
Posts: 22
Joined: Tue May 23, 2017 2:19 am
Has thanked: 0 time
Been thanked: 0 time

Re: Calling Java from Enterprise COBOL program

Postby Robert Sample » Mon Jun 05, 2017 5:24 am

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.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Calling Java from Enterprise COBOL program

Postby danik56 » Mon Jun 05, 2017 1:07 pm

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"
danik56
 
Posts: 22
Joined: Tue May 23, 2017 2:19 am
Has thanked: 0 time
Been thanked: 0 time

Previous

Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post