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
- 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 Window > Open Perspective
> Other. The Select Perspective page opens.
- Select Java EE, and click OK. The Java EE
perspective opens.
- In the Java EE perspective,
select File > New > Other.
- In the New page, select J2C > J2C Bean. Click Next
- In the Resource Adapters Selection page, select IMS TM. For this tutorial select IMS TM Resource Adapter (IBM:10.2.0). Click Next.
- On The Connector Import page, select WebSphere® Application Server v. 7.0.
- On the Adapter Style page, select Outbound.
- On the Scenario Selection page, select IMS COBOL,
PL/I, or C-based applications.
- In the Connection Properties page, select Managed
connection.
- If you already have a JNDI connection created, click Browse to locate your JNDI. If you do not have a JNDI
connection, click New.
- On the Server Selection page, select WebSphere
Application Server v7.
- Click Next.
- 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:
- For TCP/IP connection:
- Host name: (Required) The IP address or host name of IMS Connect.
- Port Number: (Required) The number of the port used by
the target IMS connect.
- For local option connection:
- IMS Connect name:
(Required) The name of the target IMS connect.
- For both:
- Data Store Name: (Required) The name of the target IMS data store.
Important: You can obtain the connection information
from your IMS system administrator.
- When you have provided the required connection information,
click Next.