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.

Importing CTGTesterCCI into <strong>WebSphere</strong> Studio<br />

To import the CTGTesterCCI EAR file into <strong>WebSphere</strong> Studio Application<br />

Developer Integration Edition, perform the following steps:<br />

1. Select File -> Import. Select EAR file from the Select an import source<br />

window. Click Next.<br />

2. Click the Browse button next to the EAR File field. In the Open window,<br />

navigate to the file CTGTesterCCI.ear, select it and click Open.<br />

3. In the field Enterprise Application project name, enter CTGTesterCCI<br />

(Figure C-6). Click Finish.<br />

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

Figure C-6 <strong>WebSphere</strong> Studio Import window<br />

<strong>WebSphere</strong> Studio will import the contents of the EAR into three enterprise<br />

application projects: CTGTesterCCI, CTGTesterCCIEJB, and<br />

CTGTesterCCIWeb. CTGTesterCCI is the enterprise project that references the<br />

associated Web and EJB projects. CTGTesterCCIEJB contains the EJB<br />

deployment descriptor and session bean source code. CTGTesterCCIWeb<br />

contains the Web deployment descriptor, JSPs, and servlet source code. <strong>The</strong><br />

compiled Java code that was present in the EAR file is also imported. This is not<br />

really needed, because the application can be compiled from the source code.<br />

Perform the following steps to remove the compiled Java code:<br />

1. From the J2EE perspective Navigator, expand CTGTesterCCIWeb -><br />

webApplication -> WEB-INF -> lib.<br />

2. Right-click CTGTesterCCIWeb_classes.jar and select Delete from the<br />

pop-up menu.<br />

3. Click Yes on the Delete Resources window.

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

Saved successfully!

Ooh no, something went wrong!