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.
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();