Use server side events

Using server side events, you can supply procedural Java code that can extend and improve the presentation of host data.

  1. Make the Reflection ZFE SDK available to your development environment. The SDK is available at install-dir\Micro Focus\ReflectionZFE\sessionserver\sdk.

  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 install-dir\Micro Focus\ReflectionZFE\sessionserver\webapps\zfe\WEB-INF\lib and restart the session server.

    If you have more than one session server on which you want the event to run, you must copy the JAR file to this location on each server.

  4. Add the session you want to associate with the event in the Administrative Console.

  5. As you configure the session in the Reflection ZFE web client, open the Customization panel.

  6. Under Server Side Events type the fully qualified class name to the event.

  7. Launch the session and test the event.

To help you create server side events, Reflection ZFE has an SDK and samples that are available to provide you with a starting point.

Access API documentation and event samples

Related Topics