Do you want to know how to implement a multi-threaded WebSockets JAVA server that conforms to RFC 6455? Well, you have come to the right place.
This blog will share how this was written (it’s only a few ‘kb’) and discusses the details on how to perform the client->server ‘handshake’, how to generate the server ‘accept’ key, how to ‘decode’ the masked payload and how to write a ‘frame’ back to the client. All of the things you need as you build out your own WebSockets Java server.
You will see several pages on this blog;
- WebSockets Java Client,
- WebSockets Java Server,
The Download page is self explanatory and all source is included — of course.
Note: I won’t go into the details on what WebSockets is, what it can be used for etc. There are plenty of resources around the web for that
Please leave comments as appropriate, and I will do my best to respond in a timely fashion.