DWR(Direct Web Remoting)是一个WEB远程调用框架.利用这个框架可以让AJAX开发变得很简单.利用DWR可以在客户端利用JavaScript直接调用服务端的Java方法并返回值给JavaScript就好像直接本地客户端调用一样(DWR根据Java类来动态生成JavaScrip代码).它的最新版本DWR0.6添加许多特性如:支持Dom Trees的自动配置,支持Spring(JavaScript远程调用spring bean),更好浏览器支持,还支持一个可选的commons-logging日记操作.
DWR - Easy Ajax for JAVA

DWR version 2.0 is our new stable release. Version 2 includes a host of updates, including Reverse Ajax which allows Java on the server to remotely control browsers by publishing scripts to them. See the release notes for more information, or download it now and use it in your website in minutes.
用了dwr,可以不用去理会js通讯方面的底层编码,主要是通过回调函数对返回的数据进行处理就行了,配置简单,方便,易用。
配置javabean, 配置impl,指定那些方法可以remoting。在页面中调用dwr生成的js,处理回调函数,基本上就是这样的了。
DWR - Easy Ajax for JAVA

DWR version 2.0 is our new stable release. Version 2 includes a host of updates, including Reverse Ajax which allows Java on the server to remotely control browsers by publishing scripts to them. See the release notes for more information, or download it now and use it in your website in minutes.
用了dwr,可以不用去理会js通讯方面的底层编码,主要是通过回调函数对返回的数据进行处理就行了,配置简单,方便,易用。
配置javabean, 配置impl,指定那些方法可以remoting。在页面中调用dwr生成的js,处理回调函数,基本上就是这样的了。
Labels:
Trackback: http://cwq.iou1314.com/_a143
Trackback: http://cwq.iou1314.com/_a143




















