简体   繁体   中英

best way to update client site data in GWT application

在GWT应用程序中将数据从服务器获取到客户端时,我们需要每隔一段时间刷新一次以获取数据更新,我认为这不是一个好方法,因为如果浪费大量时间和资源,则仅考虑另一种方法是令人惊叹的:),任何人都有一个好的和有效的想法?

您应该看一下服务器推送技术,例如Comet for GWT

I think you should definitely have a look at JBoss Errai ( http://www.jboss.org/errai ) - very cool and promising thing. Will be even shown off at Google IO this year.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM