Optimize with a SATA RAID Storage Solution
Range of capacities as low as $1250 per TB. Ideal if you currently rely on servers/disks/JBODs
Important enterprises currently have in their information systems many heterogeneous applications that must be integrated into newly developed applications. Some of these applications are developed on IBM technologies like Customer Information Control System (CICS) or IMS with the COBOL language. The J2EE Connector Architecture (JCA) specification addresses and unifies the way to communicate with these kinds of systems.
Some tools offer solutions for encapsulating all the JCA plumbing. Since version 1.2.1, Spring provides a lightweight and innovative solution for connectors using the CCI (Common Client Interface) API.
In this article, I show how to use Spring's JCA support with the IBM CICS JCA-compliant connectors to execute operations on a CICS system. First, I briefly describe JCA concepts and the main features supported in Spring. Then, I detail the global architecture to deploy to allow access to CICS with JCA. Finally, I show how to use Spring's JCA support to develop components based on CICS accesses, focusing on facilities described in this article.
JCA specifies how to access an EIS (enterprise information system) with Java. Currently, there are two versions of this specification:
As the IBM CICS connectors used in this article are compliant with JCA 1.0, I do not describe features specific to version 1.5.
JCA 1.0 is divided into two main parts:
DataSource or a Hibernate SessionFactory can be exposed with a JCA connector.
The IBM CICS connectors use the CCI API as the client. Its factory abstraction is the ConnectionFactory interface, which resembles the DataSource abstraction for JDBC. It allows the client application to create connections with the EIS. You can get the abstraction in
one of two ways:
ManagedConnectionFactory interface implementation. In this case, the connector is used in a nonmanaged mode unless a ConnectionManager implementation is specified when creating the ConnectionFactory with the createConnectionFactory() method.
Listing 1 shows a typical execution of a request with the CCI API.
Archived Discussions (Read only)