WebSocket Tutorial 05 (Programmatic Endpoint chatroom web app.)

WebSocket Tutorial 05 (Programmatic Endpoint chatroom web app.)

i’ll start by creating a new web project it’s gonna be running on GlassFish 4 and i’m gonna create an EndpointServerDemo and it’s gonna extend javax.websocket.Endpoint since i’m gonna be implementing programmatic websocket endpoint here and this is gonna be the package and i’m also gonna need a MessageHandlerDemo which is gonna implement the MessageHandler.Whole […]

Read More