Can i use Socket.io with Spring-boot?
The original Socket.IO server is designed to be used in Javascript, mostly Node.
Yet, there are other implementations of the Socket.IO server for other languages.
For Java, there is the Netty-socketio project, an open-source Java implementation of the Socket.IO server, based on the Netty Java server framework (the Netty-socketio project is also suggested in this answer).
This example Spring Boot application uses Netty-socketio to provide a Socket.IO server within a Spring Boot application.
So yes, you can use (on open-source Java implementation) of Socket.IO together with Spring Boot.
Related videos on Youtube
Maziar Karimi
I am Maziar Karimi and started to work as Java Back-end Spring Boot developer since 2016. I am searching for new career. My dream? To work for a company based in Europe. :)
Updated on September 14, 2022Comments
-
Maziar Karimi over 1 year
I am gonna develop a real time game for andriod/ios and i need a server which transmit data with client real time. Can i use socket.io with Spring boot? Or if the answer is no , using websockets with Spring boot is the solution?
-
Archimedes Trajanosimilar to stackoverflow.com/questions/15568700/… but not flagging as duplicate as this specifically mentions Spring boot
-