Facebook喜欢通知或ajax通话? [英] Facebook like notification or ajax calling?

查看:135
本文介绍了Facebook喜欢通知或ajax通话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个谷歌地图,当一个新的坐标插入数据库我想要更改地图上的图标的位置。没有ajax调用如何实现这个?

I have a google map, when a new coordinates inserted into database I want to change location of icon on map. Without ajax calling how can I implement this?

我正在使用Spring,Hibernate和SQL Server 2008。

I am using Spring, Hibernate and SQL Server 2008.

感谢您的帮助

推荐答案

如果您可以使用HTML5,则可以使用Server Sent Events。

If you are able to use HTML5 you can use Server Sent Events.

http://www.w3schools.com/html5/html5_serversentevents.asp

如果您可以在Goggle App Engine上托管,请查看。我相信它会支持所有浏览器。

If you are able to host on Goggle App Engine, check this out. I believe it would support all browsers.

http://code.google.com/appengine/docs/java/channel/overview.html

这篇关于Facebook喜欢通知或ajax通话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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