408 Patterns: Implementing Self-Service in an SOA Environment
The following are the steps used to build a J2C application that interfaces with
CICS transactions using ECI
1. Prepare the enterprise application, in this case a CICS-COBOL program.
2. Use the J2C Wizard to create a data binding bean and a J2C Java bean.
3. Deploy the J2C Java bean as a Web service.
4. Create inbound and outbound services for the bus.
5. Generate the client for the inbound Web service.
6. Integrate the J2C beans and the client in the ITSOMart application.
12.4.1 The CICS enterprise application
In the ITSOMart scenario, a CICS COBOL enterprise application program named
martacct.ccp exists on the back-end CICS system. It is designed to manage
customer information on a database using the E-MAIL field as the primary key.
The DFHCOMMAREA code snippet is shown in Figure 12-8 on page 409.
J2C Connector Tools: To do these steps you need v6.0.0.1 of Rational
Software Architect and the optional J2C Connector Tools. To upgrade and
add the tool, use the IBM Rational Product Updater. You can access this from
the workbench by selecting Help Software Updates IBM Rational
Product Updater. Click the Updates tab to find the V6.0.0.1 upgrade. The
J2C Connector Tools can be found under the Optional Features tab.
Note: This section assumes that you have an existing COBOL or
COBOL/CICS program and that you can access the source code from the
workspace.

Get Patterns: Implementing Self-Service in an SOA Environment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.