Skip to content

Commit b1e69ec

Browse files
authored
Merge pull request #3 from cicsdev/aj-6.1
Aj 6.1
2 parents 93fd00b + 1dd37b1 commit b1e69ec

17 files changed

Lines changed: 67 additions & 67 deletions

File tree

.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
44
</classpath>

.github/workflows/java.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Build
22

33
on:
44
push:
5-
branches: ["cicsts/v5.5"]
5+
branches: ["cicsts/v6.1"]
66
pull_request:
7-
branches: ["cicsts/v5.5"]
7+
branches: ["cicsts/v6.1"]
88
schedule:
99
- cron: '0 0 * * *'
1010

@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
strategy:
3030
matrix:
31-
jdk: [8, 11, 17, 21]
31+
jdk: [17, 21]
3232
steps:
3333
- uses: actions/checkout@v3
3434
- name: Set up JDK ${{ matrix.jdk }}
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848
strategy:
4949
matrix:
50-
jdk: [8, 11, 17, 21]
50+
jdk: [17, 21]
5151
steps:
5252
- uses: actions/checkout@v3
5353
- name: Set up JDK ${{ matrix.jdk }}

MAINTAINERS.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Maintainers
22

3-
- Ivan D. Hargreaves [@IvanHargreaves](https://github.com/IvanHargreaves)
4-
- Alex Brown [@AlexBrown](https://github.com/SoftlySplinter)
5-
- Phil Wakelin [@PhilWakelin](https://github.com/PhilWakelin)
63
- Aaron Jhaj [@AaronJhaj](https://github.com/AaronJhaj)
74

8-
*Last reviewed:* April 2025
5+
*Last reviewed:* June 2025

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ This sample demonstrates a Java EE web application running on a Liberty JVM serv
1111
- [etc/config/liberty/server.xml](./etc/config/liberty/server.xml) - A template `server.xml` demonstrating the minimum configuration required to run the sample.
1212

1313
## Prerequisites
14-
- CICS TS V5.5 or later
15-
- Java SE 1.8 or later on the workstation
14+
- CICS TS V6.1 or later
15+
- Java SE 17 or later on the workstation
1616
- One of the following on your workstation:
1717
- Eclipse with the IBM CICS SDK for Java EE, Jakarta EE and Liberty
1818
- An IDE of your choice that supports Gradle or Maven (or can run the Wrappers)
@@ -21,7 +21,7 @@ This sample demonstrates a Java EE web application running on a Liberty JVM serv
2121
## Downloading
2222

2323
- Clone the repository using your IDEs support, such as the Eclipse Git plugin
24-
- **or**, download the sample as a [ZIP](https://github.com/cicsdev/cics-java-liberty-tsq/archive/main.zip) and unzip onto the workstation
24+
- **or**, download the sample as a [ZIP](https://github.com/cicsdev/cics-java-liberty-tsq/archive/cicsts/v6.1.zip) and unzip onto the workstation
2525

2626
> [!TIP]
2727
> Eclipse Git provides an 'Import existing Projects' check-box when cloning a repository.
@@ -61,7 +61,7 @@ You can build the sample in a variety of ways:
6161

6262

6363
> [!IMPORTANT]
64-
> The sample comes pre-configured for use with a JDK 1.8 and CICS TS V5.5 Libraries for Java EE 8. When you initially import the project to your IDE, if your IDE is not configured for a JDK 1.8, or does not have CICS Explorer SDK installed, you might experience local project compile errors. To resolve issues you should configure the Project's build-path to add/remove your preferred combination of CICS TS, JDK, and Liberty's Enterprise Java libraries (Java EE or Jakarta EE). Resolving errors might also depend on how you wish to build and deploy the sample. If you are building and deploying through CICS Explorer SDK and 'Export to zFS' you should edit the tsq-app's Project properties. Select 'Java Build Path', on the Libraries tab select 'Classpath', click 'Add Library', select 'CICS with Enterprise Java and Liberty' Library, and choose the appropriate CICS and Enterprise Java versions.
64+
> The sample comes pre-configured for use with a JDK 17 and CICS TS V6.1 Libraries for Jakarta EE 9. When you initially import the project to your IDE, if your IDE is not configured for a JDK 17, or does not have CICS Explorer SDK installed, you might experience local project compile errors. To resolve issues you should configure the Project's build-path to add/remove your preferred combination of CICS TS, JDK, and Liberty's Enterprise Java libraries (Java EE or Jakarta EE). Resolving errors might also depend on how you wish to build and deploy the sample. If you are building and deploying through CICS Explorer SDK and 'Export to zFS' you should edit the tsq-app's Project properties. Select 'Java Build Path', on the Libraries tab select 'Classpath', click 'Add Library', select 'CICS with Enterprise Java and Liberty' Library, and choose the appropriate CICS and Enterprise Java versions.
6565
If you are building and deploying with Gradle or Maven then you don't necessarily need to fix the local errors, but to do so, you can do as above, or you can run a tooling refresh on the tsq-app project. For example, in Eclipse: right-click on "Project", select "Gradle -> Refresh Gradle Project", **or** right-click on "Project", select "Maven -> Update Project...".
6666
6767
> [!TIP]
@@ -127,7 +127,7 @@ mvn clean verify -Dcics.jvmserver=MYJVM
127127
## Deploying to a Liberty JVM server
128128

129129
Ensure you have the following features defined in your Liberty server.xml:
130-
* `<feature>servlet-4.0</feature>`
130+
* `<feature>servlet-5.0</feature>`
131131

132132
A template server.xml is provided [here](./etc/config/liberty/server.xml).
133133

bin

Lines changed: 0 additions & 1 deletion
This file was deleted.

cics-java-liberty-tsq-app/.classpath

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
<attribute name="gradle_used_by_scope" value="main,test"/>
77
</attributes>
88
</classpathentry>
9-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
9+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/">
10+
<attributes>
11+
<attribute name="module" value="true"/>
12+
</attributes>
13+
</classpathentry>
1014
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
1115
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer">
1216
<attributes>
@@ -18,6 +22,6 @@
1822
<attribute name="optional" value="true"/>
1923
</attributes>
2024
</classpathentry>
21-
<classpathentry kind="con" path="com.ibm.cics.explorer.sdk.web.LIBERTY_LIBRARIES/L./V.55/JE.8"/>
25+
<classpathentry kind="con" path="com.ibm.cics.explorer.sdk.web.LIBERTY_LIBRARIES/L./V.61/JE.JEE_V9_R1"/>
2226
<classpathentry kind="output" path="bin/default"/>
2327
</classpath>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
eclipse.preferences.version=1
22
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
33
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
4-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
55
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
6-
org.eclipse.jdt.core.compiler.compliance=1.8
6+
org.eclipse.jdt.core.compiler.compliance=17
77
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
88
org.eclipse.jdt.core.compiler.debug.localVariable=generate
99
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
@@ -13,4 +13,4 @@ org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
1313
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
1414
org.eclipse.jdt.core.compiler.processAnnotations=enabled
1515
org.eclipse.jdt.core.compiler.release=disabled
16-
org.eclipse.jdt.core.compiler.source=1.8
16+
org.eclipse.jdt.core.compiler.source=17
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<faceted-project>
33
<installed facet="jst.web" version="5.0"/>
4-
<installed facet="java" version="1.8"/>
4+
<installed facet="java" version="17"/>
55
</faceted-project>

cics-java-liberty-tsq-app/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ version = '1.0.0'
1212

1313
java
1414
{
15-
sourceCompatibility = JavaVersion.VERSION_1_8
16-
targetCompatibility = JavaVersion.VERSION_1_8
15+
sourceCompatibility = JavaVersion.VERSION_17
16+
targetCompatibility = JavaVersion.VERSION_17
1717
}
1818

1919
// If in Eclipse, add Javadoc to the local project classpath
@@ -32,11 +32,11 @@ repositories
3232

3333
dependencies
3434
{
35-
compileOnly enforcedPlatform("com.ibm.cics:com.ibm.cics.ts.bom:5.5-20200519131930-PH25409") // CICS TS V5.5 Maven BOM
35+
compileOnly enforcedPlatform("com.ibm.cics:com.ibm.cics.ts.bom:6.1-20220617120000") // CICS TS V6.1 Maven BOM
3636

3737
// Don't include JCICS in the final build (no need for version because we have BOM)
3838
compileOnly("com.ibm.cics:com.ibm.cics.server")
3939

40-
compileOnly 'javax.servlet:javax.servlet-api:4.0.1'
41-
compileOnly 'javax.annotation:javax.annotation-api:1.3'
40+
compileOnly 'jakarta.servlet:jakarta.servlet-api:5.0.0'
41+
compileOnly 'jakarta.annotation:jakarta.annotation-api:2.0.0'
4242
}

cics-java-liberty-tsq-app/pom.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
<artifactId>com.ibm.cics.server</artifactId>
2323
</dependency>
2424
<dependency>
25-
<groupId>javax.servlet</groupId>
26-
<artifactId>javax.servlet-api</artifactId>
27-
<version>4.0.1</version>
28-
<scope>provided</scope>
29-
</dependency>
30-
<dependency>
31-
<groupId>javax.annotation</groupId>
32-
<artifactId>javax.annotation-api</artifactId>
33-
<version>1.3</version>
25+
<groupId>jakarta.servlet</groupId>
26+
<artifactId>jakarta.servlet-api</artifactId>
27+
<version>5.0.0</version>
28+
<scope>provided</scope>
29+
</dependency>
30+
<dependency>
31+
<groupId>jakarta.annotation</groupId>
32+
<artifactId>jakarta.annotation-api</artifactId>
33+
<version>2.0.0</version>
3434
<scope>provided</scope>
3535
</dependency>
3636
</dependencies>

0 commit comments

Comments
 (0)