Mostrar mensagens com a etiqueta Websockets. Mostrar todas as mensagens
Mostrar mensagens com a etiqueta Websockets. Mostrar todas as mensagens

06 janeiro 2022

SpringBoot - Using WebSocket to build an interactive web application



About:
This guide walks you through the process of creating a “Hello, world” application that sends messages back and forth between a browser and a server. WebSocket is a thin, lightweight layer above TCP. This makes it suitable for using “subprotocols” to embed messages. In this guide, we use STOMP messaging with Spring to create an interactive web application. STOMP is a subprotocol operating on top of the lower-level WebSocket.







Testing: http://localhost:8080/