T
T
TostMaria2014-11-04 17:29:16
Java
TostMaria, 2014-11-04 17:29:16

Where can I find good material on web sockets?

Hello! I'm currently trying to write my chat in Java :) As far as Google has been able to help me, web socket technology is the best for this.
Where can you find it? What to read (preferably in Russian)?
Or maybe some other technology will do?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Elena, 2014-11-04
@Nidora

You will have to start learning everything from the most basic knowledge about sockets, read books and sit constantly on forums where they specialize in this topic.

P
protven, 2014-11-04
@protven

And why exactly web sockets, sorry? Why don't you go to do it on normal sockets or on nio or netty, for example?
If you really want to, here is an example of a chat just on web sockets, but IMHO, this is a clear overkill.
www.hascode.com/2013/08/creating-a-chat-applicatio...
You can read about the web sockets themselves in Java, for example, in the official tutorial from Oracle.
docs.oracle.com/javaee/7/tutorial/doc/websocket012.htm
Whether there is something in Russian - I'm not sure.

V
Viktor, 2014-11-05
@Levhav

Websockets protocol description http://learn.javascript.ru/websockets#frame-description
Browser support caniuse.com/#search=websockets Implementation in
PHP habrahabr.ru/post/179585 found so I did based on examples for other languages, you may have to do it too )
Check out this ( Long Polling slows down the browser - how to fix it? ) question you are also likely to encounter this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question