New EJB utility sample programs

CICS® supplies three new utility programs for use with enterprise beans. The programs illustrate how to:

  1. Publish a connection factory to a JNDI namespace (the CICSConnectionFactoryPublish sample). You can use the sample to create a ConnectionFactory object suitable for use with the CCI Connector for CICS TS, and to publish it to the JNDI namespace used by the local CICS region. An enterprise bean or Java™ program, running on CICS, can then perform a JNDI lookup to obtain a reference to the connection factory.
  2. Retract a previously-published connection factory from the JNDI namespace (the CICSConnectionFactoryRetract sample).
  3. Look up a connection factory in the JNDI namespace (the CCI Connector sample). This sample also shows you how to use the CCI Connector for CICS TS to call a CICS server program.

The CICSConnectionFactoryPublish, CICSConnectionFactoryRetract, and CCI Connector samples are described in Java Applications in CICS.

[[ Contents Previous Page | Next Page Index ]]