IOM Bridge
Creating a Server Object with Java and the Workspace FactoryIf you are not using a metadata 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"); |