Skip to content

Commit 3c5f138

Browse files
sophiegreenGitHub Enterprise
authored andcommitted
Update README.md
1 parent 7b0c53d commit 3c5f138

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22

33
This repository contains samples to show different scenarios of how you might use the JCICSX API.
44
These will not work out of the box, as you will require valid CICS resources eg CICS Programs for them to use.
5-
Each sample is contained within a web application so that you could package each one individually as a WAR and deploy to CICS to get it running. If you're just interested in the Java code, this can be found in *src/main/java/sample/SampleServlet*. To run this locally on your own machine, refer to the documentation here:
5+
Each sample is contained within a web application which can be packaged as a WAR in a CICS bundle and deployed to CICS using the [cics-bundle-maven-plugin](https://github.com/IBM/cics-bundle-maven). If you're just interested in the Java code, this can be found in *src/main/java*. To run this locally on your own machine, refer to the documentation here:
66
//Add link to KC
77

88
# Prerequisites
99

1010
//To add....
11-
//Also link to cics-bundle-maven to say what to add to pom.xml to deploy to CICS if using Maven
1211

1312

1413

@@ -22,8 +21,12 @@ This sample walks through how to use the JCICSX API to perform a LINK to a CICS
2221

2322
## char-link-program-sample
2423

25-
This sample is similar to the above, but shows the data being returned in a CHAR container, and therefore recieves a string as the output of the linked CICS Program.
24+
This sample takes a string and links to a COBOL program with a channel and input CHAR container. The COBOL program reverses the string and returns it to the Java program in an output CHAR container.
25+
26+
## cics-java-liberty-restapp
27+
28+
This sample mimics the existing JCICS [cics-java-liberty-restapp sample](https://github.com/cicsdev/cics-java-liberty-restapp/blob/master/src/Java/com/ibm/cicsdev/restapp/InfoResource.java), but is updated to use JCICSX instead of JCICS to show the similarities and differences. It creates a RESTful application that takes a string as an input and reverses it, and get the date and time from CICS.
2629

2730
## mockito-testing-containers-sample
2831

29-
This sample shows how to get data from BIT containers, and how to test the core logic of your application by using Mockito to mock the JCICSX calls.
32+
This sample shows how to get data from BIT containers, and how to test the core logic of your application by using Mockito to mock the JCICSX calls.

0 commit comments

Comments
 (0)