IOM Bridge
Creating a Server Object with Java and the Connection FactoryIf 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); |