Generic CCI Classes

The generic CCI classes define the environment in which a JEE application can send and receive data from an enterprise information system such as CICS.

When you are developing a JEE component you must complete these tasks:
  1. Use the ConnectionFactory object to create a connection object.
  2. Use the Connection object to create an interaction object.
  3. Use the Interaction object to run commands on the enterprise information system.
  4. Close the interaction and the connection.

The following example shows the JEE CCI interfaces being used to run a command on an enterprise information system:

ConnectionFactory cf = <Lookup from JNDI namespace>
Connection conn = cf.getConnection();
Interaction interaction = conn.createInteraction();
interaction.execute(<Input output data>);
interaction.close();
conn.close();

Information Information

Feedback


Timestamp icon Last updated: Tuesday, 19 November 2013


https://ut-ilnx-r4.hursley.ibm.com/tg_latest/help/topic/com.ibm.cics.tg.doc//progde/ccla210.html