摘要传统模式的 Web 系统以客户端发出请求、服务器端响应的方式工作,服务端不能主动发送请求(消息)给客户端。这种方式并不能满足很多现实应用的需求,基于DWR逆向Ajax技术很好解决此问题。23855
DWR是一个Java库,它尽可能简单地使在服务器Java和在浏览器的javascript进行互动和相互调用。DWR的主要特点是逆向Ajax技术,使服务器能主动向Web客户端的特定页面发送消息,而不是等待请求再相应请求的工作模式。这种工作模式对于拥有大量Web客户端的系统具有高效、简便的特点,其中最典型的是消息推送。
基于DWR的正向和逆向Ajax技术主要应用在web聊天室和紧急消息推送两个方面。通过DWR技术,服务器很好的将消息或者数据即时推送给客户端,而不再要通过客户端不断的刷新页面访问服务器端是否有新的消息和数据。
关键词   web,DWR,javascript,聊天,即时推送,服务器
毕业设计说明书(毕业论文)外文摘要
Title  Forward and reverse Ajax-based technology research and application of DWR                                                  
Abstract
Traditional model of Web system client makes a request, the server response manner, the server can not take the initiative to send a request (message) to the client. This approach does not meet the needs of many real-world applications, a good solution to this problem based on DWR Reverse Ajax techniques.
DWR is a Java library that enables Java on the server and JavaScript in a browser to interact and call each other as simply as possible. DWR's main features is the reverse Ajax technology, the server can take the initiative to send a message to the client's specific Web page, rather than wait mode request then the corresponding request. This mode has a large number of Web clients for a system with high efficiency, convenient features, the most typical is the message push.
Based on the forward and reverse DWR Ajax technology is mainly used in two ways which the web chat rooms and emergency message push. By DWR technology, the server will be push the message or data  to the client, rather than to constantly refresh the page to access the server through the client if there is new information and data.
Keywords  Web ,  DWR , javascript,Chat message , Push , Server
目  次
1  绪论    1
1.1  研究背景    1
1.2  研究内容    1
1.3  论文组织结构    2
2  相关技术研究    3
2.1  “服务器推”技术    3
2.2  struts2框架技术    7
2.3  iBATIS技术    9
2.4  本章小结    9
3  DWR技术研究    10
3.1    DWR入门配置    11
3.2  简单实例研究分析    13
3.3  本章小结    16
4  应用实例    16
4.1  需求分析    17
4.1.1 web即时消息推送系统需求    17
4.1.2  功能模块    18
4.2  方案设计    21
4.2.1  概要设计    21
4.2.2  详细设计    21
4.2.3  数据库设计    22
4.3  系统实现与测试    23
4.3.1  DWR配置    23
4.3.2  DWR推送消息实现    24
4.3.3  测试结果    31
上一篇:ASP+access学生管理信息系统设计
下一篇:嵌入式系统环境下的音频处理系统设计

Android手机考勤平台的设计与实现

基于android的环境信息管理系统设计

java+mysql班级评优系统的设计实现

Python+mysql宠物领养平台的设计与实现

ASP.NET飞翔租贷汽车公司信...

基于激光超声检测金属材...

多频激励下典型非线性系统的振动特性研究

基于Joomla平台的计算机学院网站设计与开发

浅谈高校行政管理人员的...

上海居民的社会参与研究

AES算法GPU协处理下分组加...

提高教育质量,构建大學生...

酵母菌发酵生产天然香料...

STC89C52单片机NRF24L01的无线病房呼叫系统设计

压疮高危人群的标准化中...

从政策角度谈黑龙江對俄...

浅论职工思想政治工作茬...