Use server-side events
Using server-side events, you can supply procedural Java code that can extend and improve the presentation of host data.
The Customization panel tells the web client where to find the event after you configure it. See Using the Java SDK for instructions on using the SDK and the samples available to you.
Open the Customization panel.
Under Server Side Events, type the fully-qualified class name to the event.
Launch the session and test the event.