The original: "Zongheng Technology" based on the DWR framework of the REVERSEAJAX message push has a diagram!
Source code: Http://www.zuidaima.com/share/1584228052847616.htm\
The initial design of the network is not to allow the server to initiate a connection to the browser, so getting data from the browser in a timely manner is a tricky issue.
Reverse Ajax is the ability to send data asynchronously from a Web server to a browser.
The principle of implementation is to maintain a long connection between customer service and server.
Here is a simple example, for everyone to play.
I am using the NetBeans editor, there will not go to the MyEclipse editor, see this: "vertical technology" NetBeans project files to MyEclipse environment
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
"Zongheng Technology" based on the DWR framework of the REVERSEAJAX message push there is a diagram!