Java Spring Boot – WebSocket – Chat Application Example – Configure CORS



Java Spring Boot – WebSocket – Chat Application Example – Configure CORS

Java Spring Boot - WebSocket - Chat Application Example - Configure CORS

Hey! In this video we will implement back end for chat application. We will use Java Spring Boot together with the WebSockets. We will focus on creating WebSocket handler and registering it in WebSocket registry using Spring Configuration class. We will also learn about WebSocket sessions and sending/broadcasting messages to connected clients. Implementation of chat application front end will be presented in separated video. Everything will be implemented using vanilla WebSocket without STOMP or SockJS. Keep playing with code!

Code for this video: https://github.com/codeforgeyt/java-ws-chat-application

Front-end part video: https://youtu.be/YVMSOM9aDz0

Follow //CodefForgeYT on:
FB: https://www.facebook.com/codeforgeyt/
Twitter: https://twitter.com/codeforgeyt
GitHub: https://github.com/codeforgeyt
Instagram: http://instagram.com/codeforgeyt

Comments are closed.