Home » web sockets

web sockets

Java Web Sockets

Java Web Sockets Java web sockets are Java’s alternative to Ajax. It is actually not specifically Java but an open standard called Web Sockets which is the HTTP alternative to Ajax. Java Web Sockets is Java’s implementation of Web Sockets. Basically, in HTTP and Common Gateway Interface (CGI) protocols there is much text-based overhead in each server request and response messages. Prior a hack was made to servers that were unofficial to get around this problem. They called it Ajax. It was made official with Web Sockets. Efficiency The jest of it is that now once the web socket is made your web page and Javascript code can make a very concise request with as few characters as possible from the server and get back a very concise response. This reduces bandwidth, speeds communicat...