如何在堆栈溢出网站更新消息被显示 [英] how the update messages in stack overflow site are being shown

查看:127
本文介绍了如何在堆栈溢出网站更新消息被显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何在这个堆栈溢出的网站上的更新消息已得到执行。

i would like to know how the update messages in this stack overflow site have been implemented.

要更precise,例如当我试图对问题答复​​,我在打字我的回应的中间,我会看到一条消息,在页面的顶部说,一个新的答案已经被添加。如何在此功能已经实现。

To be more precise, for example while i am trying to reply for question and i am in the middle of typing my response, i will see a message on top of the page saying a new answer has been added. How is this feature has been implemented.

AFAIK,可能的方式可以是HTML5的WebSocket或ServerSocket的技术。 有没有特别使用Java,春季和jQuery的环境下实现这种推送通知系统的任何其他方式?

AFAIK, the possible way can be HTML5 websocket or serversocket technology. is there any other way to achieve this kind of push notification system especially using java, spring and jquery environment?

不知道如何标记这个问题。正确的标签,如果我错了。

Not sure how to tag this question. correct the tags if i am wrong.

推荐答案

我已经使用了直接Web远程框架的成功。 ( DWR )。

I have used the Direct Web Remoting framework with success. (DWR).

这篇关于如何在堆栈溢出网站更新消息被显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆