In hosted mode, GWT automatically simulates your remote calls.
在托管模式下,GWT将自动模拟远程调用。
Of course, the mechanism for those remote calls is Ajax using DWR.
当然,这些远程调用的机制是借助DWR的Ajax。
RPC is also not suitable if a large number of remote calls are involved.
在涉及大量的远程调用时,也不适合使用RPC。
You've completed the Seam Remoting setup and it's time to start making some remote calls.
您已经完成了SeamRemoting设置,现在可以开始进行一些远程调用了。
A well-designed interface can greatly reduce the number of remote calls and thus execution time.
好的接口设计可以大大减少远程调用的数量,从而节省执行时间。
Normally, we do not want transactions to span remote calls.
通常我们并不希望事务跨越远程调用。
Pay particular attention to logging around remote calls, and where threads branch, start, and end.
特别要注意对远程调用进行日志记录,以及在线程分支、开始和结束的位置进行日志记录。
Minimize the number of remote calls to reduce the overhead imposed by remote calls in your code path.
尽可能减少远程调用的数量,以减少由于代码路径中的远程调用带来的系统开销。
Wrapper services on the remote side of the call are another way to reduce the number of remote calls.
远端封装器服务的调用是减少远程调用数量的另一种方法。
Our tests indicated that remote calls to retrieve this information would adversely affect performance.
我们的测试表明,用远程调用来检索这些信息对性能会有负面影响。
However, the number of remote calls is large, as each Article object and its description are retrieved separately.
但是,由于每个Article对象及其描述是分别进行检索的,所以远程调用的数量比较大。
Spring does not support propagation of transaction contexts across remote calls, as do high-end application servers.
Spring不提供高端应用服务器提供的跨越远程调用的事务上下文传播。
Inside the browser, you can make remote calls using XMLHttpRequest, but only if it is from the same domain as your Web page.
在浏览器内,可以用XMLHttpRequest进行远程调用,但只有当它来自于与您的Web页面相同的域时,才可以使用。
Part 2 introduced the ID-lists pattern to reduce the number of remote calls and still obey the separation of concerns pattern.
第2部分介绍了利用ID - lists模式减少远程调用的数量,并且还遵守分离关注点模式。
Use session beans acting as remote facades to wrap complex interactions and to reduce remote calls between portlets and domain objects.
使用会话Bean作为远程外观使用,对复杂交互进行包装,并减少Portlet和域对象间的远程调用。
After looking at the initial implementation, you can now investigate how to improve the performance by reducing the number of remote calls.
了解了这些最初的实现后,您现在可以研究如何通过减少远程调用的数量来提高性能。
I will therefore investigate the structure of remote calls by looking at remote service interfaces and the (remote) components that provide them.
因此,我将从远程服务接口和提供远程调用的(远程)组件着手研究远程调用的结构。
In this section, you have seen that moving complexity (combining the calls) from the client to the server helps reduce the number of remote calls.
在这一部分中,您看到了将复杂的部分(合并调用)从客户端转移到服务器端可以帮助减少远程调用的数量。
The figure shows that the same number of remote calls, namely four, is used to retrieve the entire shopping cart as in the joined-tables implementation.
上图显示了在连接表实现中用相同数量的远程调用(即4 个)来检索整个购物车。
In this example, caching was used to overly reduce the number of remote calls, but this approach also resulted in a performance degradation, not improvement.
在这个实例中,过度地使用高速缓存来减少远程调用的数量,但是该方法同样导致性能下降,而不是提高。
Ensure your application only makes remote calls where necessary. Impact is minimized by client-side validation, client-side caching, and batching of work.
确保你的应用只在必要的时候使用远程调用,通过客户端验证,缓存和批量作业最小化不利影响。
In the EJB-based example of a Web-based store shown in this article, I have identified the performance related factors that influence distributed remote calls.
在本文中的基于Web的商店同时也是基于EJB的实例中,我找出了影响分布式远程调用性能的相关因素。
As Meeraj mentioned previously, SCA also provides protocol abstraction so that code does not need to deal with low-level transport APIs when making remote calls.
如Meeraj之前所说,SCA还提供了协议抽象,这样在远程调用时代码就无需处理低级的传输层api。
Your client application code will utilize these classes in order to issue remote calls to the Web service methods exposed by the PresenceMonitor implementation class.
您的客户端应用程序代码将利用这些类,将远程调用发送给PresenceMonitor实现类公开的Web方法。
Note that all of this is in the same VM; there's no remote calls, no mandatory exceptions, no arguments are being serialised; it's just one POJO talking to another POJO.
注意这些都是在同一个VM中发生的;没有远程调用,没有强制异常,没有参数被序列化;只是一个POJO与另一个POJO对话。
The theory section in Part 1 showed the different steps of a remote call with the conclusion that reducing the number of remote calls is a main way to improve performance.
第1部分中的理论部分显示了远程调用的不同阶段,得出减少远程调用的数量是提高性能的主要方法。
Unlike Seam's remote calls, however, the JSF life cycle is active during an asynchronous Ajax4jsf request, hence the need for a servlet filter rather than a regular servlet.
与Seam的远端调用不同,JSF生命周期在Ajax4jsf异步请求过程中是活动的,因而需要servlet过滤器而非常规的 servlet。
Notice that this file is an empty interface at the moment, but Cypal Studio has created a utility object for returning a fully GWT-certified instance suitable for your remote calls.
注意,该文件此时是一个空接口,但是CypalStudio已经创建了实用程序对象以返回适用于远程调用的GWT完全认证的实例。
If you're unable to provide a suitably coarse-grained Ajax interface for your application, then use call batching wherever possible to combine multiple remote calls into a single HTTP request.
如果不能为应用程序提供适当粗粒度的Ajax接口,那么只要有可能把多个远程调用组合到一个HTTP请求中,就请使用调用批处理。
If the client layer is making remote calls to the API layer, the client layer must use a protocol and transaction manager that supports the propagation of a transaction context (such as RMI-IIOP).
如果客户端层向api层发起远程调用,则客户端层必须使用支持传播事务上下文的协议和事务管理程序(比如说rmi - IIOP)。
应用推荐