SAS 9.1.3 Integration Technologies » Administrator's Guide (LDAP Version)


Setting up an IOM Bridge Server and Spawner
Quick Start: Simple Server and Spawner
Summary of Setup Steps
Spawner Overview
Spawner Requirements
Metadata Overview
Creating the Metadata for an IOM Bridge Server
Using the IT Administrator Wizard
Using IT Administrator
SAS Login Object
Server Object
Spawner Object
Using a Configuration File
Configuring a UUID Generator
Configuring and Starting the Object Spawner on z/OS
Invoking (Starting) the Spawner
On Windows
On UNIX
On Alpha/VMS
Spawner Invocation Options
Administering the Server and Spawner:
Using Telnet
Using the IT Configuration Application
Spawner Error Messages
Metadata Examples
Minimal Configuration
Server and Spawner
Using Logical Names
UUID Generator
Message Queue Polling
Reference Materials
Attributes for Logical Names
Attributes for Logins
Attributes for Servers
Object Server Parameters
Server Startup Command
Attributes for Spawners
Initializing UNIX Environment Variables for Workspace Servers
IOM Bridge

Creating a Server Object with Java and the Connection Factory

If you are not using metadata server, you must use Java code to create a server definition in com.sas.services.connection.IOMServer on each Java client machine. This is necessary in order to obtain a reference to an IOM object.

The following sample code creates a server definition in com.sas.services.connection.IOMServer. Substitute your server's DNS name and the TCP port number on which the spawner will be listening. If you supply login information, the values for the user ID and password should be the values that you want to use to launch the server.

import com.sas.services.connection.BridgeServer;
	
// identify the server that uses an IOM Bridge connection
String classID = ConnectionFactoryConfiguration.CLSID_SAS;
String host = "rnd.fyi.sas.com";
int port = 5310;
BridgeServer server = new BridgeServer(classID,host,port);