Pattern 1: Remote service strategy.
模式1:远程服务策略。
Calling the remote service using GWT.
使用GWT调用远程服务。
Listing 1: Invoking a remote service.
清单1:调用远程服务。
Calling a remote service from an xform.
从XForm调用远程服务。
Comparing the local to the remote service.
本地和远程服务的比较。
Create a remote service asynchronous interface.
创建远程服务异步接口。
The RPC remote service is technically a servlet.
从技术上说,RPC远程服务是一个servlet。
This one-time set-up is required for each remote service.
这种一次性设置每个远程服务都需要添加。
The remote service interface for this article is very simple (Listing 8).
本文使用的远程服务接口非常简单(清单8)。
The GWT plug-in in Eclipse automatically creates a sample remote service.
Eclipse中的GWT插件自动地创建一个示例远程服务。
There is a corresponding asynchronous method for each remote service method.
每个远程服务方法都有对应的异步方法。
A remote service asynchronous interface is based on the remote service interface.
远程服务异步接口基于远程服务接口。
Listing 9 is the remote service asynchronous interface for the sample application.
清单9是示例应用程序的远程服务异步接口。
The following code snippet shows how to invoke a remote service using JSR 172 JAX-RPC.
下面的代码片断显示了如何使用JSR 172JAX - RPC调用远程服务。
Figure 2 displays the different steps of sending a request message to a remote service.
图2显示了发送请求信息到远程服务的不同阶段。
This is why the core search service is provided in two flavors: a local and a remote service.
这就是为什么会存在两种核心搜索服务:本地和远程服务。
Clients who want to submit orders issue requests to this remote service, as shown in Figure 2.
要提交订单的客户端会向该远程服务发出请求,如图2所示。
This wrapper provides the actual service implementation or ACTS as a proxy to the remote service.
该封装器提供实际的服务实现,或充当远程服务的代理。
Your JSNI code will create your controls and then invoke a remote service to retrieve album data.
JSNI代码将创建控件,然后调用远程服务检索唱片信息了。
The basic idea here is that you carefully tell the GWT system which remote service you're calling.
在这里基本的想法是慎重地告诉GWT系统正在调用的是哪个远程服务。
Unmarshalling the request into objects that can be used to call the remote service implementation.
将请求解包成对象,用来调用远程服务实现。
The credit linking interface is a remote service whose lookup is made through the getUrl() method.
信用链接接口是一个远程服务,它的查询是通过getUrl()方法进行的。
When the secure bean attempts to access the remote service, it will need additional business roles.
当安全bean试图访问远程服务时,它需要使用额外的业务角色。
This approach relies on the remote service accepting a callback function name as a request parameter.
这种方法依赖于接受回调函数名作为请求参数的远程服务。
Now that we have created and configured the remote object, it's time to use it as a remote service.
在创建并配置了远端对象之后,就可以将其用作一个远端服务了。
It then forwards the request to the remote service, and passes any response back to the original client.
然后它把请求转发给远程服务,并把响应回传给原来的客户。
The callback informs the GWT application of whether the remote service call has been executed successfully.
回调告诉GWT应用程序远程服务调用是否成功地执行了。
In this way, you can incorporate features that are available through messages from remote service providers.
这样,就可以增加处理来自远程服务提供者的消息的功能。
Effectively, this is just like a new service, except that the service logic is implemented by a remote service.
实际上,这就像一个新的服务,除了服务逻辑是通过远程服务来实现之外。
It is important to note that to perform a specific function it may be necessary to call more than one remote service.
需要注意的是,完成一个特定的功能可能需要调用多个远程服务。
应用推荐