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.