Chat Sample

This application presents simple chat. Once the user is logged, she can chat with others. Each message sent by a user is displayed in the chat log of all users.

Contents

The application utilizes one endpoint to communicate with users.

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-chat

When running the application, the user is expected to login first. Once logged in, user can send messages to other users.