The following checklist provides the steps necessary to build Java WebSocket clients to communicate with Kaazing Gateway:
|#||Step||Topic or Reference|
|1||Learn about supported browsers, operating systems, and platform versions.||Release Notes|
|2||Use the WebSocket API provided by the Kaazing Java client library to transmit data (both text and binary) over WebSocket.||Interact with Kaazing Gateway Using the WebSocket API|
|3||Migrate your legacy Kaazing Gateway WebSocket or ByteSocket-based client to the WebSocket API-compliant libraries in Kaazing Gateway 4.x.||Migrate WebSocket and ByteSocket Applications to Kaazing Java SDK 4.x|
|4||Learn how to authenticate your Java or Android client with the Gateway.||Secure Your Java and Android Clients|
|5||Set up logging for your client.||Display Logs for the Java Client|
|6||Troubleshoot the most common issues that occurs when using Java clients.||Troubleshoot Your Java WebSocket Client|
Note: Java Developer Kit (JDK) or Java Runtime Environment (JRE) Java 8 (version 1.8.0_77) or higher are required.
Java applications are platform–independent because they are compiled to bytecode that can then be run on a Java virtual machine (JVM) on any certified operating system.
Kaazing WebSocket Gateway provides support for its HTML5 Communication protocol libraries in Java. Using the Java WebSocket client library, you can enable the HTML5 Communication protocols (for example, WebSocket in new or existing Java applications. For example, you can create a Java client to get streaming financial data from a back-end server using WebSocket. The following figure shows a high-level overview of the architecture: