然后将这些事件映射到远程对象调用,以便将代码细节置于视图和模型之外。
You can then map the events to remote object invocation, leaving the details of the code out of your views and model.
每个方法都提供了一个回调对象,这样就可以在完成远程过程调用后收到异步通知。
Each method provides a callback object so that you are notified asynchronously when the remote procedure call is complete.
最初并未预期或计划将其用于配置文件、远程过程调用、对象串行化、数据库转储和类似的面向开发的任务。
Its use for config files, remote procedure calls, object serialization, database dumps, and similar developer-oriented tasks wasn't anticipated or planned for.
对于远程服务,则应调用代理对象。
只能使用最终的发送操作对远程对象进行调用。
Remote objects can be invoked only using the eventual send operation.
客户机应用程序直接调用远程对象存根上的方法。
The client application invokes methods directly on a remote object's stub.
将请求解包成对象,用来调用远程服务实现。
Unmarshalling the request into objects that can be used to call the remote service implementation.
总的来说,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.
但是,由于每个Article对象及其描述是分别进行检索的,所以远程调用的数量比较大。
However, the number of remote calls is large, as each Article object and its description are retrieved separately.
如清单10所示,当e JB客户机调用远程或本地接口时,它必须传递RequestContext对象,这个对象包含关于当前范围的信息。
As shown in Listing 10, when the EJB client calls the remote or local interface, it must pass the RequestContext object, which contains information about current scopes.
最后,我们调用binding对象的Curse方法来发送远程请求,在方法的返回中获得结果。
Finally, we call the Curse method on the binding object to send the remote request, and we get back the result in the method return.
要实现该用例,客户端首先执行一个对CartService的远程调用,检索Cart和CartItem对象。
To implement the use case, the client first performs a remote call to CartService and retrieves the Cart and CartItem objects.
在调用EJB对象的远程或本地接口时,通过参数传递 RequestContext对象。
When calling the remote or local interfaces of EJB objects, it passes the RequestContext object as a parameter.
如果5.0MXBean的远程调用要求传递复杂类型的实例,那么对象就被转换成等价的CompositeData。
If you make a remote call to a 5.0 MXBean that requires passing an instance of a complex type, the object is converted to its CompositeData equivalent.
最后,客户端调用远程对象上的create方法。
Finally, the client then invokes the create method on the remote object.
注意,该文件此时是一个空接口,但是CypalStudio已经创建了实用程序对象以返回适用于远程调用的GWT完全认证的实例。
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.
事件处理器可以做任何事,包括调用一个对象的方法,运行一个命令,或者对远程对象进行调用。
A handler can be anything from calling a method on an object, running a command or invoking a remote object call.
这是所有的远程过程调用(rpc)机制实现的操作语义,因为它是在过程性编程语言和面向对象的编程语言中的标准函数调用语义。
This is the operating semantic that all remote procedure call (RPC) mechanism implement since this is the standard function-call semantic in procedural and object-oriented programming languages.
使用rmi,可以像调用本地对象的方法一样调用远程对象的方法。
Using RMI, you can call methods of remote objects just like you call methods of local objects.
使用rmi,可以像调用本地对象的方法一样调用远程对象的方法。
Using RMI, you can call methods of remote objects just like you call methods of local objects.
应用推荐