CORBA IDL — Remote object access based on interfaces.
CORBAIDL——基于接口的远程对象访问。
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.
就客户而言,该存根对象就是远端对象。
To the client, it is as though there were no involvement by a remote object.
对客户机来说,它似乎没有涉及远程对象。
In fact, in RPC and SOAP, a remote object is not directly operated on at all!
事实上,在RPC和SOAP中,根本不直接操作远程对象!
In this sample application, we will import BlazeDS to implement the remote object.
在这个示例应用程序内,我们将导入BlazeDS来实现这个远端对象。
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 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理解并存放所请求的远程对象。
Use the PortableRemoteObject.narrow method to narrow the returned remote object to the type of EJB home interface.
使用PortableRemoteObject .narrow方法将返回的远程对象压缩为ejb本地接口的类型。
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.
业务接口模式不是避免远程对象设计中不匹配的方法的唯一方法。
Note that the Business Interface pattern isn't the only way to get around mismatched methods in remote object design.
业务接口模式不是避免远程对象设计中不匹配的方法的唯一方法。
应用推荐