然而EJB在为消息传输定义端点、远程与异步方法调用、定时器等领域还是有一席之地的。
However, EJB will still have a place in defining endpoints for message delivery, remote and asynchronous method invocation, timers, etc.
介绍了CORBA中的四种异步激发方式:多线程方式、单向异步激发方式、延迟同步激发方式以及异步方法调用方式,并讨论了各种异步激发方式的优缺点。
In this article, we introduce four kinds of asynchronous invocation way in CORBA:Multithread, Oneway, Deferred Synchronous and AMI. We also discuss their advantages and disadvantages.
每个方法都提供了一个回调对象,这样就可以在完成远程过程调用后收到异步通知。
Each method provides a callback object so that you are notified asynchronously when the remote procedure call is complete.
当验证方法被调用时,对服务器的异步调用将被触发。
The asynchronous call to the server will be triggered when the validate method is called.
无法使用简单的方法返回异步调用的结果。
There's no easy way to return the result of an asynchronous call.
在异步操作完成或者事件触发的时候,就会调用方法并作为对该事件的反应。
When the asynchronous operation finishes or when the handled event takes place, a method gets called and executed as a reaction to the event.
引用限定符可以指定异步调用的可靠性,以及是否应该联合目标组件的方法,使之成为任何客户端事务的一部分。
Reference qualifiers can specify asynchronous invocation reliability, and whether a target component's methods should be federated as part of any client transaction.
当执行远程调用时,创建类的实例并将其传递给异步服务方法,如清单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.
查询任务和前面的一样,但是现在调用异步方法来查询和申明任务。
Query tasks as the one before, but now it will call the unsynchronized methods to query and claim the task.
可以通过调用API中的不同方法来使用WSIF客户机进行异步调用。
The same WSIF client can be used for asynchronous invoke by invoking a different method in the API.
如果从上述“WSDL -代码-生成”方法开始,您可以要求代码生成器启用对服务的异步调用。
If you're starting with the WSDL-code-generation method described above, you can ask the code generator to enable asynchronous invocations to your service.
从全局层次上来看,这其实是一种异步序列,因为开始的attach方法调用是朝着一个方向的。
At an overall level this is an asynchronous sequence, since the first attach method call goes in one direction.
这个方法返回一个IAsyncResult,它可以被用在监测完成,也可以等待在WaitHandel,或者完成异步调用。
The method returns an IAsyncResult, which can be used to monitor completion, wait on the WaitHandle, or complete the asynchronous call.
从本质上说,Ajax的异步特性使客户机浏览器能够向服务器发送请求或调用服务器端的方法。
Essentially, the asynchronous features provide the means for the client browser to send requests or call methods that are executed on the server side.
异步调用的返回值可以通过EndInvoke方法回收。
The return value of an asynchronous call can be recovered by calling the EndInvoke method.
References:指定了异步调用的可靠性,以及一个目标组件的方法是否应该被组合成客户端事务的一部分。
References: These specify the reliability for asynchronous invocations and whether a target component's methods should be federated as part of any client transaction.
一个异步方法能返回一个Future对象,该对象使得客户端可以获得一个结果值、检查异常或者尝试取消正在进行中的调用。
An asynchronous method can return a Future object that allows the client to retrieve a result value, check for exceptions, or attempt to cancel an in-progress invocation.
使用回调处理程序异步调用代理上的方法。
Invoke the method on the proxy asynchronously with callback handler.
告诉我们,接下来的赋值过程将使用异步的方式,而ReadAsync函数为BeginRead和EndRead方法如何被调用提供了规范。
"Tells us that the bind will be made asynchronously, and the ReadAsync function provides the specification of how the BeginRead and EndRead methods should be called."
异步调用代理上的方法。
当从单元测试中返回一个doh.Deferred对象时,必须捕获异步调用中产生的所有错误信息并把它们传递给对象的errback方法。
When a doh.Deferred object is returned from a unit test, you must catch all errors from the asynch call and pass them to the object's errback method.
一接收到消息就调用(异步)接收方bean,以将消息内容解包以调用目标业务逻辑e JB中的方法。
The (asynchronous) receiver bean is invoked upon receipt of a message to unpack the message content to invoke a method on a target business logic EJB.
在其执行过程中,BPEL流程将调用一个异步服务,方法是将另一消息放在名为IMPORTQ的MQ出站队列。
During its execution, the BPEL process will invoke an asynchronous service by placing another message on an outgoing MQ queue called IMPORTQ.
通过一个异步的方法调用,容器将控制权返还给客户端并且在一个单独的线程上继续处理该调用。
With an asynchronous method invocation the container returns control to the client and continues processing the invocation on a separate thread.
当使用了异步调用,而调用的任务需要查找所调用任务在特定位置生成的输出才能够继续后续操作时,这种方法是特别重要的。
This is especially important when asynchronous invocation is used where the calling task has to look for the output of the called task appearing at a particular location to continue further.
它们几乎不需要进行配置,它们根据客户端的调用样式(同步、异步等等)来使用不同的传输方法。
They require very little configuration and use different transports depending on the client invocation style (synchronous, asynchronous, and so on).
异步性(asynchronicity)——如果一个方法,由它得到的架构不假定模块调用将被立即响应,那么该方法就满足异步性。
Asynchronicity - a method satisfies Asynchronicity if it yields architectures that do not assume an immediate response from a module invocation.
在客户端异步式调用WebServices的第二种方法是在传输层实现的。
The second method for invoking web services asynchronously from the client side by way of the transport-level. Eran describes the transports provided by axis2.
异步方法可能还支持多个挂起的调用(多个并行调用),允许您的代码在此方法完成其他挂起的操作之前调用此方法任意多次。
An asynchronous method may also support multiple pending calls (multiple concurrent invocations), allowing your code to call it any number of times before it completes other pending operations.
表示一个类,该类负责调用异步控制器的操作方法。
Represents a class that is responsible for invoking the action methods of an asynchronous controller.
应用推荐