To do this, you need a stub class of the remote object.
要做到这点,需要一个远程对象的存根类。
The stub class contains method signatures of the remote object.
存根类包含远程对象的方法签名。
Finally, the client then invokes the create method on the remote object.
最后,客户端调用远程对象上的create方法。
As far as the client is concerned, this stub object is the remote object.
就客户而言,该存根对象就是远端对象。
In fact, in RPC and SOAP, a remote object is not directly operated on at all!
事实上,在RPC和SOAP中,根本不直接操作远程对象!
The stub is responsible for carrying out method execution on the actual remote object.
该存根负责实现实际远端对象上的方法执行。
Now that we have created and configured the remote object, it's time to use it as a remote service.
在创建并配置了远端对象之后,就可以将其用作一个远端服务了。
A SIP can be, for example, a Web services endpoint, a WebSphere MQ queue, or a proxy for an RMI remote object.
例如,SIP可以是Web服务端点、WebSpheremq队列或RMI远程对象的代理。
A handler can be anything from calling a method on an object, running a command or invoking a remote object call.
事件处理器可以做任何事,包括调用一个对象的方法,运行一个命令,或者对远程对象进行调用。
If you've done much development of EJB components, you're well aware of the difficulties of remote object design.
如果您开发过许多EJB组件,那么您很清楚远程对象设计的难点。
The locate request message type is used to verify that the ORB understands and houses the requested remote object.
定位请求消息类型用于验证ORB理解并存放所请求的远程对象。
You can then map the events to remote object invocation, leaving the details of the code out of your views and model.
然后将这些事件映射到远程对象调用,以便将代码细节置于视图和模型之外。
Note that the Business Interface pattern isn't the only way to get around mismatched methods in remote object design.
业务接口模式不是避免远程对象设计中不匹配的方法的唯一方法。
When the RMI connector is used, a remote object is created on the client side and on the stub passed to the server side.
当使用RMI连接器时,会在客户机端和被传递到服务器端的存根上创建远程对象。
The remote interface, retrieved through the home interface, gives you access to the public methods of the remote object.
remote接口是通过home接口检索得到的,为您提供了对远程对象的公共方法的访问。
The remote interface, retrieved through the home interface, gives you access to the public methods of the remote object.
remote接口是通过home接口检索得到的,为您提供了对远程对象的公共方法的访问。
应用推荐