The CCI interfaces for outbound communication are contained in the packages javax.resource.cci
and net.fsc.jca.communication.cci
. For outbound communication, the CCI offers almost the same functionality as the BeanConnect-specific interfaces (with the exception of the additional functionality with UTM partners offered by the EISUpicConnection
interface). You find information on the program framework using the CCI interface in Program framework for Common Client Interface (CCI).
Connection factory interfaces
In your EJB code, you use a connection factory to set up a connection. CCI provides the following connection factory interfaces:
javax.resource.cci.ConnectionFactory
net.fsc.jca.communication.cci.BCOltpConnectionFactory
net.fsc.jca.communication.cci.BCUpicConnectionFactory
(only if the EIS partner is an UTM application)
The BCOltpConnectionFactory
interface and the BCUpicConnectionFactory
interface extend the javax.resource.cci.ConnectionFactory
interface without providing additional functionality.
Using the BCOltpConnectionFactory
or BCUpicConnectionFactory
interface makes sense if you want to verify that communication is processed via the OSI-TP or UPIC protocol respectively. Example 5 on Connection factory interfaces applies analogously. It is recommended that you use the interface javax.resource.cci.ConnectionFactory
.
Connection interface
The CCI interface for the outbound communication is javax.resource.cci.Connection
.