The document discusses using websockets for real-time applications. It explains the differences between polling and websockets, how websockets work at a high level, and how to implement websockets using Spring including STOMP messaging protocol and a message broker. Spring makes it easy to build scalable websocket applications with loose coupling between components.