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 J2EE icon,
, does not appear in the top right tab
of the workspace, you need to switch to the J2EE perspective. From the menu
bar, select Window > Open Perspective > Other. The
Select Perspective window opens.
- Select J2EE.
- Click OK. The J2EE perspective opens.
- In the J2EE perspective, select File > New > Other.
- In the New page, select J2C > J2C Java Bean.
Click Next
- In the Resource Adapters page, under View by,
select JCA version. Expand 1.5,
and select ECIResourceAdapter (IBM:6.0.2). Click Next.
- In the Connection Properties page, select Nonmanaged
connection. (For this tutorial, you will 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 may obtain the connection information from your CICS Server system
administrator.
- Click Next.