Simple (Java, Javascript) Starts with Websites

I would like to find a good (updated) Java Trail start tutorial on websites with Javascript client code and Java server code (which really works). On the server side, if all I have to do is create a simple socket server or something like that, tell me. I still have not found anything (although I have been working on the Internet for many hours) that provides basic basic information like this (with the exception of the client side, which is apparently very simple).

I am not interested in using existing Websocket server systems (other than starting with a simple copy-paste from a simple tutorial). If you are interested, I will tell you why below.

I have an open source project that HTML5 requested long before it started (starting with its original concept many years ago). Getting two-way communication from Websockets, unlike long polls, forever-frames, etc., looks like a winner to me. The current version of the software (framework) HLL "light" - with my typical emphasis on not dragging extra code. It uses only Java SE, although I intend to build version (s) using EE communication. Currently, I can easily install the entire infrastructure with spare parts for application components on small devices such as cell phones.

  • I need a minimal code.
  • I am proud of understanding all the code in the system.
  • I think this is the death of a new open source project if you have to tell people who want to try to download and install all kinds of other open source codes for it.
  • I do not want my code to undergo changes in the code of another user.
  • It really shouldn't be that hard - if I just find the documentation I need.

UPDATE: websockets. - . - . websocket, , , . ( - , ). -, http ( - ) . -, , .

+2
2

, WebSocket. , . , , , "", - , websocket. (, "" - .) , . HTTP, - ( , WebSockets http-). HLL. , . , "" , , , , , , .

, , , , , , ; 1. Chromium (Chrome dev) Firefox. , -, WebKit, . . ( ) . , , . "", HTML5. . - , , HTML5, - .

Java-, , , - . , , "", , . , . , - Java . -, .

, Opera HTML5. , , . ( , , - , .) , , . , Opera HTML5, . , -, , .

+3

All Articles