You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a set of sample projects for Link to Liberty, demonstrating how you can invoke a POJO packaged in a WAR in a Liberty JVM server from a CICS program.
6
+
7
+
- projects/com.ibm.cics.server.examples.wlp.link - Web project
1. Import the projects into CICS Explorer using File -> Import -> General -> Existing projects into workspace.
12
+
- If using the egit client, you can just clone the repo and tick the button to import all projects.
13
+
2. Change the name of the JVMSERVER in the .warbundle file to a suitable value for your installation.
14
+
3. Export the bundle project to zFS by selecting 'Export Bundle project to z/OS Unix File System' from the contxt menu.
15
+
4. Ensure the `cicsts:link-1.0` feature is present in server.xml and the JVMSERVER is ENABLED.
16
+
5. Create a bundle defintion pointing to the zFS location you just exported to, and install it.
17
+
6. Check for the dynamically created PROGRAM resource HELLOWLP.
18
+
19
+
## Trying out the sample
20
+
You can use CECI to invoke the sample program:
21
+
`CECI LINK PROGRAM(HELLOWLP)`
22
+
and look for output in the STDOUT location for the JVMSERVER.
23
+
24
+
You can pass a channel with a container:
25
+
`CECI PUT CONTAINER(NAME) CHAR FROM(MATTHEW) CHANNEL(CHAN)`
26
+
27
+
`CECI LINK PROG(HELLOWLP) CHANNEL(CHAN)`
28
+
29
+
## Found out more
30
+
For more information on invoking Java EE applications in a Liberty JVM server from CICS programs see [this article](https://developer.ibm.com/cics/2016/11/02/link-to-liberty/).
0 commit comments