WebSocket Tutorial 02 (Simple chatroom web app. - Java ServerEndpoint + JavaScript Client) HD
00:06 create WebSocketPrj02 web project having GlassFish 4 as the target runtime 00:25 create a websocket ServerEndpoint and an html client 01:07 code ChatroomServerEndpoint 01:28 keep track of the set of chatroom users 02:05 establish new connection functionality 02:52 close connection functionality 03:20 receive message functionality 06:13 create and populate JSON message 07:28 code default.html client 08:54 handle incoming JSON messages from the server 10:01 send JSON message functionality 10:39 test run completed application Website + download source code @ https://zaneacademyapp.appspot.com or http://zaneacademy.com or download directly @ https://sites.fastspring.com/zaneacademy/product/all