01.01.2013 Views

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

12 <strong>CICS</strong> <strong>Transaction</strong> <strong>Gateway</strong> <strong>V5</strong><br />

<strong>CICS</strong>. Java applications interact with resource adapters using the Common<br />

Client Interface (CCI), which is largely based on the CCF, but it is a standard<br />

that is open to the entire Java community.<br />

1.2.2 External Presentation Interface<br />

<strong>The</strong> EPI is used for invoking 3270-based transactions. A terminal is installed in<br />

<strong>CICS</strong>, and <strong>CICS</strong> sees the request as running on a remote terminal controlled by<br />

the <strong>CICS</strong> TG. For further details on programming with the EPI, refer to Chapter 7,<br />

“EPI support classes”, in the redbook Java Connectors for <strong>CICS</strong>, SG24-6401.<br />

<strong>CICS</strong><br />

<strong>Transaction</strong><br />

<strong>Gateway</strong><br />

EPI<br />

Figure 1-7 External Presentation Interface<br />

<strong>CICS</strong> region<br />

3270<br />

presentation<br />

logic<br />

<strong>CICS</strong><br />

Application<br />

An EPI request can be made in Java using one of five different interfaces:<br />

► <strong>The</strong> EPIRequest class provided by the <strong>CICS</strong> TG base classes.<br />

This class provides a Java interface to the EPI, and is used for invoking<br />

3270-based transactions. Due to its low-level nature, using it for developing<br />

EPI applications requires a strong knowledge of <strong>CICS</strong> and 3270 data<br />

streams.<br />

► <strong>The</strong> EPI support classes, which provide high-level constructs for handling<br />

3270 data streams.<br />

A wide range of classes is provided including AID, FieldData, Screen,<br />

Terminal, Map and MapData. <strong>The</strong>se are used to represent the interface to a<br />

<strong>CICS</strong> 3270 terminal, and the resulting 3270 response.<br />

► <strong>The</strong> EPI beans, which are based on the EPI support classes and JavaBean<br />

development environment.<br />

<strong>The</strong>y allow you to create EPI applications in a visual development<br />

environment, using one of the visual application builder tools, such as<br />

VisualAge® for Java.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!