Runtime tools : Service engine : How to use Service Engine? : How to create a remote session?
  
How to create a remote session?
RemoteSession rs = ServiceEngine.getInstance().createRemoteSession("zh_CN", null, null);
System.out.println(rs.sessionID);
 
rs.close();
Go up to
How to use Service Engine?