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.

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

Figure B-49 CTGTesterCCIWeb properties Web pane<br />

As shown in the Context Root field, the context root for our Web application is<br />

CTGTesterCCIWeb. <strong>The</strong>refore the URL to invoke the application is<br />

/CTGTesterCCIWeb, assuming that, at deploy time, the Application Server is set to<br />

map enterprise applications directly to /. Because the servlet URL mapping is<br />

relative to the context root, the URL /CTGTesterCCIWeb/CTGTesterCCIServlet<br />

can be used to directly invoke the servlet.<br />

EJB deployment descriptor<br />

To view the EJB deployment descriptor, perform the following steps from<br />

<strong>WebSphere</strong> Studio:<br />

1. From the J2EE Perspective Navigator view, expand CTGTesterCCIEJB -><br />

ejbModules -> META-INF.<br />

2. Right-click ejb-jar.xml and select Open.<br />

<strong>The</strong> General tab shows some information about the session bean. Click the<br />

Beans tab to show the Beans pane. This shows we have one bean defined,<br />

CTGTesterCCI, and that it is a Stateless Session bean. <strong>The</strong> Bean class is<br />

CTGTesterCCIBean, the bean implementation that we outlined in “Session bean”<br />

on page 367. <strong>The</strong> Home interface is CTGTesterCCIHome and the Remote interface<br />

is CTGTesterCCI.<br />

Click the <strong>Transaction</strong> to show the <strong>Transaction</strong> pane. Expand CTGTesterCCI<br />

(Figure B-50 on page 383).

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

Saved successfully!

Ooh no, something went wrong!