This simply exposes the DWR servlet and sends any URL starting with /dwr/ to the servlet.
上述代码公开了DWRservlet并向其发送所有以 /dwr/开始的URL。
Next, I need to configure DWR, telling it that Ajax clients should be able to construct a CatalogDAO and call these methods. I do this with the dwr.xml config file shown in Listing 2
接下来,我需要配置DWR,告诉它Ajax客户应当能够构建CatalogDAO并调用这些方法。
DWR就使用了这种方式。
This adds the DWR servlet to the application.
这会把DWRservlet添加到应用程序。
For the latter cases, DWR is a turnkey solution.
对于后一种情况,DWR是一种一揽子的解决方案。
Download DWR: Get the latest DWR jar distribution.
下载DWR:得到最新的DWRjar发行包。
DWR is deployed as a servlet within your Web application.
DWR是作为Web应用程序中的servlet部署的。
Figure 7 shows the format of the data that DWR sends across.
图7展示了DWR发送的数据的格式。
Of course, the mechanism for those remote calls is Ajax using DWR.
当然,这些远程调用的机制是借助DWR的Ajax。
This tells DWR that remote clients can call methods in this class.
这就告诉DWR远程客户机可以调用该类的方法。
All subsequent DWR requests will then access this single instance.
所有后续请求将访问这个实例。
DWR makes it easy to enable Ajax on the back-end of an application.
DWR使在应用程序的后端启用Ajax变得十分容易。
These classes don't implement any DWR specific interfaces or classes.
这些类不用实现任何DWR特定接口或类。
There is one more thing you need to do to setup DWR on your back-end.
要在后端设置DWR,还需要做另一件事情。
All you must do is add some declarations and activate the DWR servlet.
需要做的仅是添加一些声明和激活一个DWRservlet。
This article shows you how to leverage DWR to simplify Ajax development.
本文侧重于向您展示如何利用DWR简化ajax开发。
DWR can be configured to use three different mechanisms for Reverse Ajax.
DWR经过配置之后可以使用ReverseAjax的三种不同机制。
The starting point of a DWR application is writing your server-side object model.
DWR应用程序的起点是编写服务器端对象模型。
This article USES DWR to build a sample Ajax application based on three portlets.
本文使用DWR、基于三个portlet来构建一个示例Ajax应用程序。
DWR. Detailed instructions for experimenting with DWR are included in this tutorial.
本教程中包含有关试用DWR的详细说明。
One dry, tumble dry for 20 minutes more to reactivate water-repellent (DWR) treatment.
完全干燥后,可再多烘20分钟,烘干的热力可令表布上的防泼水层回复最佳效果。
JSF-based Apache Shale and servlet-based DWR are two that you'll want to keep an eye on.
基于 JSF 的ApacheShale和基于 servlet 的DWR是两个希望您保持关注的框架。
You can configure DWR to call the server synchronously or asynchronously in the background.
您可以配置DWR在后台以同步或异步方式呼叫服务器。
The data model is greatly simplified so you can concentrate on the DWR-brokered Ajax interactions.
数据模型已经大大简化,以便您能把精力放在借助DWR的Ajax交互。
Before you can develop the portlets, you need to set up your development environment and set up DWR.
在可以开发portlet之前,需要设置开发环境和DWR。
DWR does have its own solution to the latency issue in call batching (see the sidebar call batching).
对于延迟,DWR在调用的批处理中有自己的解决方案(请参阅侧栏的调用批处理)。
You can download the complete code for our sample application, including DWR, from the download section.
可以从下载小节下载示例应用程序的完整代码,包括DWR。
In a larger application, DWR's Spring integration could be leveraged to provide DWR with Spring-created beans.
在大型应用程序中,可以使用DWR的Spring集成提供Spring生成的bean。
A few of the most promising and well-designed toolkits that we have used are: Dojo, Rico, and DWR (see Resources).
我们使用的最有前途、设计合理的一些工具包是:Dojo、Rico和DWR(请参见参考资料)。
You could also optionally specify which fields should be included/excluded by DWR, again through the use of annotations.
也可以随意指定DWR包括/不包括哪些字段,这同样可以通过使用注释实现。
应用推荐