电脑技术学习

DWR 1.1 RC1 发布

dn001
DWR 1.1 RC1 发布了。

DWR(Direct Web Remoting)是一个WEB远程调用框架.利用这个框架可以让AJAX开发变得很简单. 利用DWR可以在客户端利用JavaScript直接调用服务端的Java方法并返回值给JavaScript就 好像直接本地客户端调用一样(DWR根据Java类来动态生成JavaScrip代码).

新特性包括:
将bean属性隐藏到Javascript后;
能够整合Struts, JSF, Beehive ;
提升对Spring,hibernate的支持;
支持synchronous calling ;
提升error handling, timeouts and call hooks能力;
等等

官方提到:
"New features in DWR 1.1: New Converters for Enums and Objects, the ability to keep Bean properties hidden from Javascript, integration with Struts, JSF, Beehive and improved integration with Spring, Hibernate and various scripting languages, also DWR now supports synchronous calling and improved error handling, timeouts and call hooks. The DHTML library (DWRUtil) has been improved to allow more ways mutate your web pages with data from the server."

标签: