Resin WebSocket Tutorial

Sent:

Receive:

Description

The JavaScript client sends two messages to the WebSocket servlet: "hello", and "server". When the servlet receives "hello", it returns "world". When it receives "server" it returns "Resin".

When the client receives the response, it adds the received text to the "Received: " area.

Links

WebSocket Resin tutorial