- The WebSocket Protocol http://www.ietf.org/rfc/rfc6455.txt
- JSR 356 Java API for WebSocket https://jcp.org/en/jsr/detail?id=356
WebSocket is a protocol that enables two-way communication between a client and a remote host. The security model used during communication is the origin-based security model commonly used by web browsers. The protocol consists of an opening handshake, followed by basic message framing in top of a TCP connection. The goal of this technology is to provide a two-way communication mechanism for browser-based applications that does not rely on opening multiple HTTP connections: the underlying TCP connection is used for two-way communication.