The root element of the dwr.xml document is DWR.
xml文档的根元素是dwr。
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并调用这些方法。
This article USES version 2.0 of DWR.
本文使用DWR 2.0版本。
DWR就使用了这种方式。
Now you can use DWR in your portlets.
现在可以在portlet中使用DWR了。
DWR 2.0 has been out for 6 months or so.
DWR 2.0已经发布了6个月左右。
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发行包。
The DWR test page for CatalogDAO is shown in Figure 2.
CatalogDAO的DWR测试页如图2所示。
DWR is deployed as a servlet within your Web application.
DWR是作为Web应用程序中的servlet部署的。
Now, take a look at a specific example to see how DWR works.
现在,让我们通过一个特定的示例来看看DWR是如何工作的。
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变得十分容易。
If it is set to false, then DWR will be using the piggy-back option.
如果设置为false,则DWR将使用合并选项。
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的三种不同机制。
Before explaining DWR in more detail, I'll introduce a simple example scenario.
在更详细地解释DWR之前,我要介绍一个简单的示例场景。
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是两个希望您保持关注的框架。
应用推荐