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.

<strong>The</strong> CTGTesterCCI application<br />

<strong>The</strong> CTGTesterCCI enterprise application contains a Java servlet and a session<br />

bean that we used during this project in our various test scenarios. It is intended<br />

to provide a simple enterprise application that can be used “out of the box” to test<br />

ECI connectivity from any <strong>CICS</strong> <strong>Transaction</strong> <strong>Gateway</strong> to any configured <strong>CICS</strong><br />

region using the <strong>CICS</strong> ECI resource adapter. It is written for simplicity and thus is<br />

not intended as a real-life customer application. All input parameters can be<br />

specified as HTTP query strings or HTML form parameters, and all output is<br />

through text-based HTML.<br />

It has the following features:<br />

► Setting of the COMMAREA input, encoding, and length<br />

► Setting of <strong>CICS</strong> TG Java client and CCI trace<br />

► Executing a program a number of times<br />

► For an unmanaged connection, setting of the <strong>CICS</strong> application server, <strong>CICS</strong><br />

mirror transaction, <strong>CICS</strong> user ID, and password<br />

► For an unmanaged connection, setting of the <strong>Gateway</strong> daemon URL and port<br />

<strong>The</strong> application consists of a number of JSPs, a servlet, and an enterprise bean.<br />

Figure B-1 on page 338 illustrates the complete architecture of the enterprise<br />

application.<br />

Web browser<br />

HTML<br />

JSP<br />

<strong>WebSphere</strong> Application<br />

Server for Windows<br />

servlet<br />

CTGTesterCCIServlet<br />

session bean<br />

CTGTesterCCI CCI<br />

Figure B-18 Architecture of CTGTesterCCI<br />

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

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

resource<br />

adapter<br />

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

C<br />

O<br />

M<br />

M<br />

A<br />

R<br />

E<br />

A<br />

z/OS<br />

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

program<br />

Appendix B. Sample applications 355

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

Saved successfully!

Ooh no, something went wrong!