Hi all the stackoverflow people i need an websocket server and client implementation example in jAVA, i researched and not found tangible result, please help me thank you
Asked
Active
Viewed 1.8k times
0
-
7Try google.com next time ;-) – nowaq Nov 24 '11 at 13:19
-
4You really need to demonstrate that you have done some work at least. Did some google searches, read some documents, played with some test code. – Gray Nov 24 '11 at 15:41
-
See https://stackoverflow.com/questions/43163592/standalone-websocket-server-without-jee-application-server/53208425#53208425 – Stefan Jan 23 '19 at 12:57
3 Answers
7
First two results on a google search for java websocket. How did you not find these?

Felix
- 88,392
- 43
- 149
- 167
-
I recommend the first one, at least for people which want to see something running quickly. jWebSocket server has tons of dependencies and configuration files, a lot of plugins enabled by default and you don't know what's really necessary. And after you set up everything and you get like 200 lines of debug output in the console you don't know what's about, it doesn't work. With Java-Websocket I was able to run a working example from own java file in 5 minutes. – User Aug 29 '12 at 15:12
2
If you want a simple Java I/O websocket server that supports the full message length and multiple connections check this out http://code.google.com/p/jfraggws/

Christopher price
- 21
- 1