Adding Java Code for Automated Batch Registration

Review the Developer Guide for Unwired Server Management APIto write Java code that automates and batches application connection registration outside of Sybase Control Center.

  1. Use Unwired Workspace to open the RegisterApplicationConnections.java class from the src folder.
  2. Update these properties based installation values.
    public class RegisterApplicationConnections {
    
    	private String supHost = "localhost";
    	private int supPort = 2001;
    	private String supAgentHost = "localhost";
    	private int supAgentPort = 9999;
    	private String supAdministrator = "supAdmin";
    	private String supAdministratorPassword = "AdminPwd";
    
  3. Scan the Java file to determine if any other parameters should change based on your environment.
    If a Relay Server farm with an RSOE is set up and configured, configure the Relay Server host, Relay Server port number, and farm ID (indicated by zero in the example).
  4. Save the changes.