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
Copy file name to clipboardExpand all lines: cics-java-liberty-restapp/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Sample RESTful web application for deployment to a Liberty JVM server in CICS. T
8
8
1.`InfoResource` - This queries the JVM server environment using system properties and uses JAXB beans to return a JSON response detailing the CICS environment.
9
9
1.`ReverseResource` - This is similar to `InfoResource`, but uses the JCICSX API to link to the COBOL program `EDUCHAN` using channels and containers. An input string is passed to `EDUCHAN`, which is then reversed and returned, along with the time from CICS.
10
10
11
-
The following Java source components are supplied in the [`src/Java`](src/Java) directory in this repository.
11
+
The following Java source components are supplied in the [`src/main/java`](src/main/java) directory in this repository.
12
12
13
13
## Java package com.ibm.cicsdev.restapp
14
14
*[`CICSApplication`](src/main/java/com/ibm/cicsdev/restapp/CICSApplication.java) - Sets the `ApplicationPath` for resources in this application
@@ -59,22 +59,22 @@ You can then view the web server `http://yourcicsurl.com:9080/cics-java-liberty-
59
59
60
60
#### Using a web browser you can issue the following HTTP GET requests
This will invoke the `InfoResource` class and return the following JSON response with information about the target CICS system:
65
65
66
66
`{"applid":"IYK2Z32E","jvmServer":"DFHWLP","time":"2016-09-09T16:19:55.384Z","cicsEnvironment":{"cicsProduct":"CICS Transaction Server for z/OS","cicsVersion":"5.3.0"}}`
This will invoke the `ReverseResource` class which links to the CICS COBOL program and reverses the default string "Hello from Java" returning the following JSON response:
72
72
73
73
`{"time":"2016-09-09T16:15:52.756Z","original":"Hello from Java","reverse":"avaJ morf olleH","truncated":false}`
0 commit comments