Setting up the development environment
You can use the JCICS API to develop Java™ applications that can access CICS® resources. The API is available in the IBM® CICS SDK for Java, Maven Central, or in the USSHOME directory of your CICS installation.
About this task
The JCICS API provides you with the Java interface to access CICS services. This API is the Java equivalent of the EXEC CICS API that is provided for other CICS supported languages, such as COBOL.
| Java code authoring tool | JCICS API |
|---|---|
| CICS Explorer® | Provided in the preinstalled IBM CICS SDK for Java, which resolves dependencies automatically. |
| Maven and Gradle (to access artifacts from Maven Central) | You can declare the dependency using any Java IDE that supports Maven or Gradle. |
| Any other tool, to import the API jars provided in USSHOME | You need to manually import the dependency. |
- The IBM CICS SDK for Java provides support for the JCICS API.
- Eclipse and the Eclipse Web Tools Platform provide the tools to develop Java EE applications.
- The IBM CICS SDK for Java EE, Jakarta EE and Liberty provides the Java EE, Jakarta EE, and Liberty APIs in the form of a Java build path library or OSGi target platform.
- CICS Explorer provides the tools to package, deploy, and manage Java applications within CICS bundles.
- Explorer for z/OS® provides the tools to work with files, data sets, and jobs on z/OS, including viewing JVM server log files.
Consuming dependencies from Maven Central offers more flexibility in the choice of IDE and integrates easily into popular build toolchains such as Maven or Gradle. The Maven Central artifacts contain the JCICS, CICS annotation, CICS annotation processor libraries and a bill of material (BOM) for you to declare dependencies and develop applications for CICS in your IDE of choice. The artifacts can be obtained directly from Maven Central, or from locally hosted and allow-listed repositories using tools such as JFrog Artifactory or Sonatype Nexus.
Procedure
Results
Your development environment is ready to develop Java applications for CICS.