在这个特定的示例中,服务器端的断言标识作为远程调用的方法参数发送。
In this particular sample, the asserted identity for the server side is simply sent as a method parameter of the remote invocation.
对于能被远程调用的方法——比如绑定服务(bound service)中的方法,这是理所当然的。
This is primarily true for methods that can be called remotely-such as methods in a bound service.
事件处理器可以做任何事,包括调用一个对象的方法,运行一个命令,或者对远程对象进行调用。
A handler can be anything from calling a method on an object, running a command or invoking a remote object call.
这就告诉DWR远程客户机可以调用该类的方法。
This tells DWR that remote clients can call methods in this class.
让我们看一看如何使用所有这些元素以成功地从远程计算机上调用我们的EJB组件上的方法。
So, let's see how we use all these elements to successfully call methods on our EJB component from remote machines.
在这个实例中,过度地使用高速缓存来减少远程调用的数量,但是该方法同样导致性能下降,而不是提高。
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.
当执行远程调用时,创建类的实例并将其传递给异步服务方法,如清单4所示。
You create an instance of the class and pass it to your asynchronous service method when you make your remote call, as seen in Listing 4.
总的来说,OR B通过引用传递选项基本上将调用的EJB方法作为本地调用对待(甚至对于带远程接口的EJB),并避免必需的对象复制操作。
To summarize, the ORB pass by reference option basically treats the invoked EJB method as a local call (even for EJBs with remote interfaces) and avoids the requisite object copy.
EJB 2.0规范引入了本地客户端视图,当在同一J VM里运行EJB时避免了远程的方法调用。
The EJB 2.0 specification introduced local client views, which eliminate the need to use remote method invocations when running EJBs within the same JVM.
需要一定的方法存储该信息以便供脚本调用远程服务。
You'll need some way to store this information and make it available to the your script that is going to invoke your remote service.
通过注入对代理对象的引用而不是注入实际的EJB远程接口存根,Spring还可以捕获在业务方法调用过程中引发的异常。
Spring can also catch exceptions thrown during business method calls by injecting a reference to a proxy object instead of the actual EJB remote interface stub.
在Converterbean上可以调用我们公开的远程方法。
It is on this Converter bean that we can call our exposed remote methods.
Web服务提供了一种标准方法来实现可以远程调用的业务功能。
Web services provide a standard way to implement a business function that can be invoked remotely.
返回的远程会话bean用于调用 bean的业务方法。
The remote session bean is returned to be used to call the bean's business methods.
与EJB通信的应用程序(这些应用程序基于远程方法调用(Remote Method Invocation,RMI)和servlet)必须使OR b线程池的大小被配置。
Remote Method Invocation (RMI) -based and servlet-based applications that communicate with EJBs must have the ORB thread pool size configured.
使用SOAP,您的程序向SOAP服务器发送“SOAP请求”(一个简短的XML文档,描述在远程机器上要调用的方法和所有要传递给它的参数)。
With SOAP, your program sends a "SOAP request" (a short XML document that describes a method to invoke on a remote machine and any parameters to pass to it) to a SOAP server.
通过引用传递,方法的参数没有被复制到每个远程调用的堆栈中,而这个复制过程可能是代价高的。
By enabling pass by reference, the parameters of the method are not copied to the stack with every remote call, which can be expensive.
从那里,我继续将SOAP和一般而言的RPC与它的最大竞争对手之一,远程方法调用(rmi)相比较。
From there, I'll go on to compare SOAP, and RPC in general, with one of its biggest competitors, remote method invocation (RMI).
它为服务提供者提供一个简单的方法描述申请的形式并响应远程方法调用信息(RMI)。
It provides a simple way for service providers to describe the format of requests and response messages for remote method invocations (RMI).
组件的客户端库调用组件的服务方法,这些方法在服务器上远程运行并访问存储库。
A component's client library invokes the component's service methods which run remotely on the server and access the repository.
HTML生成的代码为这些函数提供代理方法,这些方法调用服务器端的远程方法。
The HTML-generated code provides proxy methods for these functions, and these methods call the remote methods on the server side.
一个规则的有往返的远程方法调用有两条消息,一条负责请求,一条负责响应。
A regular round trip remote method call is modeled as two messages, one for the request and one for the response.
想一想执行远程方法调用的机制,您就会发现定义参数传递的方向(客户机到服务器、服务器到客户机或者双向传递)是多么的有意义。
If you think about the mechanics of making a remote method call, it makes perfect sense to define the direction that the parameters will be moving in — client-to-server, server-to-client, or both.
在本系列的第2部分中,您将首先学习分布式对象方法,它与远程过程调用方法的关系更密切。
In Part 2 of this series, you'll first learn about the distributed objects approach, as it's more closely aligned with RPC.
使用rmi,可以像调用本地对象的方法一样调用远程对象的方法。
Using RMI, you can call methods of remote objects just like you call methods of local objects.
远端封装器服务的调用是减少远程调用数量的另一种方法。
Wrapper services on the remote side of the call are another way to reduce the number of remote calls.
调度方法将引用远程调用程序发送调用消息的位置,以及如何将方法调用路由到方法实现对象中。
A dispatching approach refers to where remote callers send their invocation messages and how the method invocations are routed to the method implementation object.
中介模式的“桥接”角色是使用模板方法模式实现的,它通过几种不同的基础通信技术,为远程服务调用提供支持。
The "bridge" role from the broker pattern was then implemented using the template method pattern to support remote service invocation using several different underlying communication technologies.
另外,使用了一个代码例子,证明远程的方法调用比一个本地的调用会花费高于千倍的代价。
In addition, using a code example, he demonstrates that a remote method call is more than a thousand times more expensive than a local method call.
第1部分中的理论部分显示了远程调用的不同阶段,得出减少远程调用的数量是提高性能的主要方法。
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.
应用推荐