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.

WEB-INF, right-click ibm-web-bnd.xmi, and select Open. Click the Source tab<br />

to see the source, shown in Figure B-48.<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Figure B-48 ibm-web-bnd.xmi source<br />

As shown, the tag has an attribute that defines the JNDI name<br />

to use for our EJB reference. <strong>The</strong> attribute is jndiName and its value is<br />

ejbs/CTGTesterCCI, as we specified in the Web deployment descriptor editor.<br />

<strong>The</strong> tag refers to the EJB reference EjbRef_1, as defined by the<br />

editor in web.xml. This ties the JNDI name defined in the ibm-web-bnd.xmi file to<br />

the EJB reference in the web.xml file.<br />

Web context root<br />

<strong>The</strong> context root of our Web application can be viewed and edited from the Web<br />

pane in the enterprise application properties window in <strong>WebSphere</strong> Studio. To<br />

see this pane, perform the following steps:<br />

1. From the J2EE Perspective Navigator view, right-click CTGTesterCCIWeb<br />

and select Properties.<br />

2. From the Properties dialog tree, click the Web node. This will show the Web<br />

pane (Figure B-49 on page 382).<br />

Appendix B. Sample applications 381

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

Saved successfully!

Ooh no, something went wrong!