SAS 9.1.3 Integration Technologies » Developer's Guide


Developing Java Clients
Installation and JRE Requirements
Security
Using the IOM Server
Using the Java Connection Factory
Connecting with Directly Supplied Server Attributes
Connecting with Server Attributes Read from a SAS Metadata Server
Connecting with Server Attributes Read from an LDAP Server
Connecting with Server Attributes Read from the Information Service
Language Service Example
Logging Java Connection Factory Activities
Using Failover
Using Load Balancing
Using Connection Pooling
Pooling with Directly Supplied Server Attributes
Pooling with Server Attributes Read from a Metadata Server
Pooling with Server Attributes Read from the Information Service
Returning Connections to the Java Connection Factory
Using Java CORBA Stubs for IOM Objects
Getting a JDBC Connection Object
Using the Java Workspace Factory
Using SAS Foundation Services
IOM and CORBA Class Documentation
Java Clients

Pooling with Server Attributes Read from a Metadata Server

Note: If you are using the Information Service to obtain the server metadata, see Pooling with Server Attributes Read from the Information Service.

When you connect to an IOM server using information from a metadata server, all of the information about the IOM server and how to connect to it is created and maintained by the metadata server administrator. The person developing the Java client application does not need to make a decision about whether to use connection pooling, because that decision is made by the metadata server administrator.

SAS Metadata Server

If you are using a SAS Metadata Server, you can specify the pooling parameters with SAS Management Console. For details about planning for pooling and puddles on a SAS Metadata Server, see Planning and Configuring Pooling in the SAS Integration Technologies: Server Administrator's Guide. For details about security for pooling, see Planning Server Pooling Security in the SAS Integration Technologies: Server Administrator's Guide.

The code example in Connecting with Server Attributes Read from a SAS Metadata Server can be used to connect to a pooled server without any changes. However, the credentials that you specify for the metadata server connection must be the credentials for the pooling administrator.

LDAP Server

If you are using LDAP, you can specify the pooling parameters with the IT Administrator. For details about how to use the IT Administrator to set up pooling for LDAP, see Setting up Workspace Pooling in the SAS Integration Technologies: Administrator's Guide (LDAP Version).

The code example in Connecting with Server Attributes Read from LDAP can be used to connect to a pooled server without any changes.