Chat Application using websocket technology written in Java and javascript
-
Server Websocket endpoint run in glassfish server. Server receive JSON (string) data from client. The data is converted into class ChatData by class ChatDecoder. Afterthat, server send to database (dynamoDB) and send it back to client. The server code is located inside chatwebsocket folder.
-
WebClient Written in javascript to handle all chat event. Connect into websocket server then start to transfer all data to server and receive data from websocket server. Webclient is on folder webapp. Chat.html file provide with user interface and handling event. Websocket.js handle pushing data from client to server.