< Previous | Next >

Lesson 1.1: Select a resource adapter

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

  1. If the J2EE icon, J2EE perspective, 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.
  2. Select J2EE.
  3. Click OK. The J2EE perspective opens.
  4. In the J2EE perspective, select File > New > Other.
  5. In the New page, select J2C > J2C Java Bean. Click Next
  6. In the Resource Adapters page, under View by, select JCA version. Expand 1.5, and select ECIResourceAdapter (IBM:6.0.2). Click Next.
  7. 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.

  8. Click Next.