< 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 IMS™ server.

Connecting to the IMS 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 Selection page, select the J2C 1.5 IMS resource adapter. For this tutorial select IMS Connector for Java (IBM:9.1.0.2.3). Click Next.
  7. In the Connection Properties page, select Managed connection.
  8. If you already have a JNDI connection created, click Browse to locate your JNDI. If you do not have a JNDI connection, click New.
  9. On the Server Selection page, select WebSphere Application Server v6.1.
  10. Click Next.
  11. On the New J2C Connection Factory page, accept the default Connection class name of com.ibm.connector2.ims.ico.IMSManagedConnectionFactory. In the blank fields, enter all the required connection information. Required fields, indicated by an asterisk (*), include the following:
    1. For TCP/IP connection:
      1. Host name: (Required) The IP address or host name of IMS Connect.
      2. Port Number: (Required) The number of the port used by the target IMS connect.
    2. For local option connection:
      1. IMS Connect name: (Required) The name of the target IMS connect.
    3. For both:
      1. Data Store Name: (Required) The name of the target IMS datastore.
  12. Click Finish.
  13. You may obtain the connection information from your IMS system administrator. When you have provided the required connection information, click Next.