This lesson leads you through the detailed steps to select
and configure the resource adapter to connect to the CICS® ECI server.
Connecting to the CICS ECI server
- If the Java™ EE icon,
, does not appear in the top right tab of the workspace, you
need to switch to the Java EE
perspective. From the menu bar, select . The Select Perspective page opens.
- Select Java EE, and click OK. The Java EE
perspective opens.
- In the Java EE perspective,
select.
- In the New page, select J2C > J2C Bean, and click Next.
- In the Resource Adapters page, select ECIResourceAdapter
(IBM:8.0.0.0). Click Next.
- On the Connector Import page, select WebSphere
Application Server v. 7.0.
- On the Connection Properties page, select Nonmanaged
connection. (For this tutorial, you use the non-managed
connection to directly access the CICS server, so you do not need to provide the JNDI name.) Accept
the default Connection class name of com.ibm.connector2.cics.ECIManagedConnectionFactory.
In the blank fields, provide connection information. Required fields,
indicated by an asterisk (*), include the following:
- Server name: (Not required) The name of
the CICS Transaction Gateway
server.
- Connection URL: (Required) The server address
of the CICS ECI server
- Port number: (Not required) The number
of the port that is used to communicate with the CICS Transaction Gateway. The default port is
2006.
- User name: (Required) The user name for
the connection.
- Password: (Required) The password for the
connection.
You can obtain the connection information from your CICS Server system administrator.
- Click Next.