action.skip

Using the Java SDK

Working with server side events and the Host Access for the Cloud SDK you can supply procedural Java code that can extend and improve the presentation of host data. To help you create server side events, Host Access for the Cloud has an SDK to provide you with a starting point.

The API documentation, including samples, is available in a ZIP file (hacloud-extras-<version>.zip) from the same download location as the Host Access for the Cloud product files. They are also always available online: Javadocs.

  1. Enable extensions.

    You enable extensions in the Host Access For The Cloud console. There are detailed instructions available from the Extension page help icon help icon.

  2. Write the Java code necessary to accomplish the task and compile the code into a Java class within a JAR (Java Archive) file.

  3. Copy the JAR file to a folder named /server and create a ZIP file containing the /server folder at the root and any other extensions you want to use.

  4. From the Admin Console drop-down menu, open Host Access for the Cloud.

  5. Using the Extension page, upload the ZIP file.

  6. Redeploy the service.

  7. As you configure the session in the web client, from Settings, click Customization, and type the fully qualified class name to the event.

  8. Launch the session and test the event.