code: public RemoteTask createRemoteTask(String strServer, String strRemoteApp, String strUserID, String strPassword)
      {
          RemoteTask remoteTask = super.createRemoteTask(strServer, strRemoteApp, strUserID, strPassword);
          return remoteTask;
      }
docs: Connect to the remote server and get the remote server object.
  @param strServer The (rmi) server.
  @param The remote application name in jndi index.
  @return The remote server object.