Using JDBC and SQLJ to access DB2 data from Java programs

Java™ programs that run in CICS® can use several methods to access data held in a DB2® database.

Java programs can:
  • Use a JCICS LINK command to link to a CICS program that uses Structured Query Language (SQL) commands to access the data.
  • Directly access the data by using the Java Data Base Connectivity (JDBC) or Structured Query Language for Java (SQLJ) application programming interfaces.