[1]田福生 张燕平.用Ajax技术实现B/S模式下客户端间信息交互[J].计算机技术与发展,2007,(10):92-94.
 TIAN Fu-sheng,ZHANG Yah-ping.Realization of Communication among Clients under B/S Using Ajax[J].,2007,(10):92-94.
点击复制

用Ajax技术实现B/S模式下客户端间信息交互()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2007年10期
页码:
92-94
栏目:
智能、算法、系统工程
出版日期:
1900-01-01

文章信息/Info

Title:
Realization of Communication among Clients under B/S Using Ajax
文章编号:
1673-629X(2007)10-0092-03
作者:
田福生 张燕平
安徽大学计算智能与信号处理教育部重点实验室
Author(s):
TIAN Fu-sheng ZHANG Yah-ping
Ministry of Education Key Laboratory of Intelligent Computing & Signal Processing, Anhui Univ
关键词:
B/SAjaX信息交互
Keywords:
B/S Ajax communication of message
分类号:
TP311
文献标志码:
A
摘要:
C/S模式下,客户端之间的信息交互通过Socket编程或者消息传递中间件很容易实现,而B/S模式下,作为客户端的浏览器之间的信息交互却很难实现,因为浏览器客户端对信息的改变很容易提交给服务器端,反过来,服务器端的信息的改变却很难及时地通知每个客户端,只能通过客户端重新发出HTrP请求。传统的方法是每个客户端的网页每隔一段时间就刷新一次,这势必会造成整个页面的不断刷新和重载,从而浪费时间和宽带。文中利用Ajax与服务器端交互异步的特点,结合Jsp/Servlet的强大功能,实现web页面无刷新快速更新数据方
Abstract:
The communication among the clients can be easily realized using the Socket programming or middleware of message queue in the mode of the client/server. But it is difficult to be realized in the mode of browser/server,since the changing of clients which is browser can easily be sent to server while the changing of server could not be sent to the clients. The clients can only be modified by sending the request of HTTP again in the mode of browser/server. Traditional method is to refresh the client at regular intervals. It must lead to continuously refreshing and loading. It is a waste of time and bandwidth. In this paper,a novel method of combining the characteristic of asynchronous communication of Ajax and the strong function of Jsp/Servlet is proposed. It can achieve the high quality of synchronization between the clients and server,and realize the communication among clients by web server. The experiments reveal its applicability

相似文献/References:

[1]谢亦才 玄立超.基于SVG的网络GIS图形编辑系统设计与实现[J].计算机技术与发展,2009,(04):213.
 XIE Yi-cai,XUAN Li-chao.Design and Implementation of a Vector Graphic Editing System on WebGIS Based on SVG[J].,2009,(10):213.
[2]龙腾飞.Ajax技术与WebGIS[J].计算机技术与发展,2008,(04):165.
 LONG Teng-fei.Ajax Technology and Web GIS[J].,2008,(10):165.
[3]谢亦才 杨群生.基于SVG和Ajax的WebGIS设计与实现[J].计算机技术与发展,2009,(05):249.
 XIE Yi-cai,YANG Qun-sheng.Design and Implementation of a WebGIS Based on SVG and Ajax[J].,2009,(10):249.
[4]李成严 冯慧灵.基于开源技术的Web应用架构研究[J].计算机技术与发展,2009,(08):27.
 LI Cheng-yan,FENG Hui-ling.Research of Web Application Architecture Based on Open- Source[J].,2009,(10):27.
[5]刘刚 邓飞其 杨长海.AJAX在WebGIS异步数据交互中的研究[J].计算机技术与发展,2009,(01):53.
 LIU Gang,DENG Fei-qi,YANG Chang-hai.Research on AJAX Technology to Achieve Asynchronous Data Transaction in WebGIS[J].,2009,(10):53.
[6]刘军 马文丽 姚文娟 郑文岭.基于嵌入式Web服务器病人监护系统设计[J].计算机技术与发展,2009,(01):187.
 LIU Jun,MA Wen-li,YAO Wen-juan,et al.Design of Remote Care System Based on Embedded Web Server[J].,2009,(10):187.
[7]柴明辉 严洪森 齐培娣.基于B/S的物料管理信息系统的设计与实现[J].计算机技术与发展,2008,(01):52.
 CHAI Ming-hui,YAN Hong-sen,QI Pei-di.Design and Implementation of Material Management Information System Based on B/S[J].,2008,(10):52.
[8]余文斌 曾夏玲 周清清 余敏.基于搜索引擎Web API和模拟请求方式的搜索服务研究[J].计算机技术与发展,2008,(03):114.
 YU Wen-bin,ZENG Xia-ling,ZHOU Qing-qing,et al.Research of Search Service Based on Search Engine Web API and Simulating Request[J].,2008,(10):114.
[9]赵若曼 张川.基于UML的网上作业系统研究与实现[J].计算机技术与发展,2008,(03):225.
 ZHAO Ruo-man,ZHANG Chuan.Research and Implementation of Web - Based Exercise System Based on UML[J].,2008,(10):225.
[10]朱忠旭 袁兆山.AndroMDA模型转换组件的扩展研究[J].计算机技术与发展,2008,(04):74.
 ZHU Zhong-xu,YUAN Zhao-shan.Research on Extension of Model Transition Component of AndroMDA[J].,2008,(10):74.
[11]程建军.基于Ajax技术的研究生教育管理系统设计与实现[J].计算机技术与发展,2008,(12):207.
 CHENG Jian-jun.Design and Implementation of Graduate Education Management Information System Based on Ajax[J].,2008,(10):207.

备注/Memo

备注/Memo:
安徽省自然科学基金(050420208)田福生(1984-),男,安徽庐江人,硕士研究生,研究方向为B/S架构、智能计算;张燕平,教授,研究方向为人工神经网络、机器学习、人工智能
更新日期/Last Update: 1900-01-01