Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eyrafabdullayev/spring-boot-websocket
Sample Chat Application using Spring Boot and WebSocket
https://github.com/eyrafabdullayev/spring-boot-websocket
chat chatroom spring spring-boot websocket
Last synced: 28 days ago
JSON representation
Sample Chat Application using Spring Boot and WebSocket
- Host: GitHub
- URL: https://github.com/eyrafabdullayev/spring-boot-websocket
- Owner: eyrafabdullayev
- Created: 2020-10-03T16:31:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-04T08:43:41.000Z (over 4 years ago)
- Last Synced: 2024-11-05T21:31:37.044Z (3 months ago)
- Topics: chat, chatroom, spring, spring-boot, websocket
- Language: CSS
- Homepage:
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot and Web Socket
## About
Sample Chat Application using Spring Boot and WebSocket.#### What is WebSocket
Like ``http``, ``websocket`` is also a communication protocol which provides bi-directional communication channel between a server and client. \
This is the main reason why websocket is prefered over Http where the client and server need to exchange information at high frequency and with lower latency.#### STOMP
STOMP stands for ``Streaming Text Oriented Messaging Protocol``.
WebSocket is just a communication protocol. \
He doen't know ``How to send a message only to users who are subscribed to a particular topic, or how to send a message
to a particular user``. We need STOMP for these. \
Spring provides default support for it but you can choose any other messaging protocol such as RabbitMQ or ActiveMQ.## Running
``$ docker run -i -p 8080:8080 eyrafabdullayev/chatapplication:latest ``