Digital Developer Conference on Data and AI: Essential data science, machine learning, and AI skills and certification Register for free

Learning path: Spring Boot Java applications for CICS

This learning path is designed to get you up to speed with the usage of Java and Spring Boot in CICS Liberty. Spring Boot makes it easy to create standalone, production-grade Java applications that you can just run. Spring was designed to simplify Java Enterprise Edition using plain old Java objects (POJOs) and dependency injection, and Spring Boot builds on Spring by adding components to reduce development time and configuration. Both web applications and CICS linkable Spring Boot applications are supported in CICS, and this set of tutorials and samples provide step-by-step instructions for everything you need to know to build an enterprise Java application using Spring Boot — starting with building your first application, through to using security and transactions, integrating with Db2 using JDBC or JPA, accessing IBM MQ with JMS, and starting threads using thread concurrency.

Part 1: JCICS, Gradle, and Maven

Learn about:

  • Creating a Spring Boot web app as a WAR and importing it into Eclipse
  • Adding RESTful services that use the JCICS API to interact with a CICS TSQ
  • Building the app with Gradle or Maven using the JCICS and Spring Boot libraries
  • Deploying the app into a CICS Liberty JVM server

Part 2: Security

Learn about:

  • Three different options for securely deploying a Spring Boot application into Liberty running in CICS
  • Option 1: Using Java EE Security
  • Option 2: Using pure Spring Security
  • Option 3: Integrating Spring Security with Java EE security

Part 3: Transactions

Learn about:

  • Three ways to achieve transaction management in Spring Boot with CICS
  • Option 1: Spring’s @Transactonal annotation
  • Option 2: Spring’s TransactionTemplate for Bean Managed transactions
  • Option 3: The Java EE UserTransaction interface to directly drive the JTA