Draw Sample

This application presents real-time drawing sample. Multiple users connected to the application can draw simultaneously on the canvas.

Contents

The application utilizes one endpoint to receive messages containing the painting updates and distribute them to others.

Running the Example

Run the example as follows: deploy:

$AS_MAIN/bin/asadmin start-domain
$AS_MAIN/bin/asadmin deploy --force ./target/*war

From a web browser, visit:

http://localhost:8080/sample-draw

Please visit the application at least from two browser windows to see the features. Draw in one window and watch the drawing in the other one.