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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

<strong>WebSphere</strong> Studio Application Developer Integration Edition (<strong>WebSphere</strong><br />

Studio) includes the <strong>CICS</strong> TG resource adapters and an integrated <strong>WebSphere</strong><br />

test environment. It is possible to edit, compile and run both our sample<br />

enterprise applications from within <strong>WebSphere</strong> Studio.<br />

To import the CTGTesterECI 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 CTGTesterECI.ear, select it and click Open.<br />

3. In the field Enterprise Application project name, enter CTGTesterECI (as<br />

shown in Figure C-1). Click Finish.<br />

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

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

application projects: CTGTesterECI and CTGTesterECIWeb. CTGTesterECI is<br />

the enterprise project. CTGTesterECIWeb contains the Web deployment<br />

descriptor, JSPs and servlet source code. It will also contain the compiled Java<br />

code that was present in the EAR file. This is not really needed, because the<br />

application can be compiled from the source code. Perform the following steps to<br />

remove the compiled Java code:<br />

1. From the J2EE perspective Navigator, click CTGTesterECIWeb -><br />

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

Appendix C. Additional material 391

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

Saved successfully!

Ooh no, something went wrong!