After you have selected the CICS® ECI resource adapter in the J2C bean wizard, you must provide
the connection properties.
Before you begin
Before you can create your J2C application, you need to set
up a CICS transaction gateway
on a machine to access the server. You also need to perform some setup
work on the CICS Server machine,
on which the CICS program runs.
Contact your CICS Server administrator
for setup and for connection information to your CICS server.
About this task
Connections from the Java™ bean to the EIS can be managed or non-managed. Managed connections
are obtained through JNDI and are managed by the application server.
Non-managed connections are obtained directly through the resource
adapter for two-tiered applications. If both connection types are
selected, a managed connection is attempted first, followed by a non-managed
connection.
Procedure
- Managed connections On the Connection
Properties page, provide the JNDI name of the connection factory.
You need to specify this entry if you intend to use JNDI to make your
connection.
- Non-managed connections On the Connection Properties
page, enter all the required connection information. required fields
are indicated by an asterisk (*).
- Connection class name* (required): Connection class name for this connection. Since more
than one connection class can be created for a single resource adapter,
and each connection class has different connection properties, you
need to select the relevant Connection Class name for the connection
you want to use.
- Connection URL* (required): Server address of the CICS ECI server (Connection URL).
- Server name:
Name of the CICS Transaction
Gateway server.
- Port number:
Port number that is used to communicate with the CICS Transaction Gateway.
- User name: User
name for the connection.
- Password: Password
for the connection.
To set the advanced CICS properties, click Show Advanced.
- Client security: Client security class name.
- Server security: Server security class name.
- Key ring class: Keyring class name (mandatory for SSL protocols).
- Key ring password: Keyring password (mandatory for SSL protocols).
- Tran name: Transaction
name under which all CICS requests
run.
- TPN name: Transaction
program name under which all CICS requests run.
- Trace level:
Level of information to be traced.
- Once you have specified the connection properties, click Next.