CICS supplies two sample applications that illustrate how a CICS Java program
or enterprise bean can use the CCI Connector for CICS® TS to call a CICS server program:
- The CCI Connector sample. This is a relatively simple application that
shows how to code the CCI APIs directly.
The CCI Connector sample illustrates
how to:
- Look up a previously-published connection factory in a JNDI namespace
- Use the CCI Connector for CICS TS to call a CICS server program
The CCI Connector sample is described in The CCI Connector sample application.
- The EJB Bank Account sample. This is a more complex sample that illustrates
how you can use enterprise beans and DB2® to make CICS-controlled information available
to Web users. The sample implements a CICS enterprise bean that uses the CCI Connector for CICS TS to
link to back-end CICS COBOL programs. The COBOL programs extract information
from DB2 data tables.
The EJB Bank Account sample is described in The EJB Bank Account sample application.