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.

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

application. We supply an index.jsp, so this page will be found and displayed in<br />

the Web browser.<br />

Click the Source tab to display the Source panel. This shows the source of the<br />

web.xml file that is generated from entries in the Web deployment descriptor<br />

editor (Figure B-47).<br />

<br />

<br />

CTGTesterCCIWeb<br />

<br />

CTGTesterCCIServlet<br />

CTGTesterCCIServlet<br />

itso.cics.eci.j2ee.testercci.CTGTesterCCIServlet<br />

<br />

<br />

CTGTesterCCIServlet<br />

CTGTesterCCIServlet<br />

<br />

<br />

index.jsp<br />

<br />

<br />

<br />

ejb/CTGTesterCCI<br />

Session<br />

itso.cics.eci.j2ee.testercci.CTGTesterCCIHome<br />

itso.cics.eci.j2ee.testercci.CTGTesterCCI<br />

<br />

<br />

Figure B-47 CTGTesterCCI Web deployment descriptor source<br />

As can be seen, the display name of our Web application is specified with the<br />

tag. Most of the values shown in the Web deployment descriptor<br />

editor are marked up using the same name, except for the servlet mapping,<br />

which is marked up with the tag to show which servlet the<br />

corresponds to. <strong>The</strong> EJB reference is defined using the tag<br />

with an id attribute generated by the editor, in this case EjbRef_1.<br />

All the fields we defined in the editor are here except for the JNDI Name field.<br />

This is stored in the Web app binding XMI file. To view this file, from the J2EE<br />

Perspective Navigator view, expand CTGTesterCCIWeb -> webApplication ->

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

Saved successfully!

Ooh no, something went wrong!