< Previous | Next >

Lesson 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 Java™ EE icon, Java EE perspective, 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 Window > Preferences > Other. The Select Perspective page opens.
  2. Select Java EE, and click OK. The Java EE perspective opens.
  3. In the Java EE perspective, selectFile > New > Other.
  4. In the New page, select J2C > J2C Bean, and click Next.
  5. In the Resource Adapters page, select ECIResourceAdapter (IBM:8.0.0.0). Click Next.
  6. On the Connector Import page, select WebSphere Application Server v. 7.0.
    Connector Import page
  7. 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.

  8. Click Next.
< Previous | Next >

Feedback