Contents Setting Up an IOM Bridge Server Previous Next

Creating a Server Object with Java

If you are not using an LDAP server, you must use Java code to create a server definition in java.util.Properties on each Java client machine. This is necessary in order to obtain a reference to an IOM workspace.

The following sample code creates a server definition in java.util.Properties. Substitute your server's DNS name and the TCP port number on which the spawner will be listening. The values for the user ID and password should be the values that you want to use to launch the server.


	import java.util.Properties;
 
	Properties serverProperties = new Properties();
	serverProperties.put("host","serverHost.myCompany.com");
	serverProperties.put("port","5307");
	serverProperties.put("userName", "admin");
	serverProperties.put("password", "admin_pw");


Contents Setting Up an IOM Bridge Server Previous Next