This J2SE console app communicates over WebSocket with an Echo service hosted by Kaazing WebSocket Gateway. The app sends messages and receives messages with the Echo service over WebSocket.
- Java 1.8
- Gradle 2.10 or higher
- Build the application using gradle
cd <application root directory>
gradle installDist- Run the application
build/install/java-ws-demo/bin/java-ws-demoor
build\install\java-ws-demo\bin\java-ws-demo.bat
Interact with Kaazing Java WebSocket Client API
Documentation that explains how to create a Kaazing Java WebSocket application from scratch can be found here.
API Documentation for Kaazing Java WebSocket Client library is available: