Any client that needs to use the service of the server can then contact the Naming service and look up the server using the textual name to obtain the remote object reference.
需要使用服务器上的服务的任何客户机都能够与命名服务联系,使用文本名称查找服务器来获得远程对象引用。
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.
总的来说,OR B通过引用传递选项基本上将调用的EJB方法作为本地调用对待(甚至对于带远程接口的EJB),并避免必需的对象复制操作。
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.
通过注入对代理对象的引用而不是注入实际的EJB远程接口存根,Spring还可以捕获在业务方法调用过程中引发的异常。
After the InitialContext value has been obtained, the client code then does a lookup in the JNDI namespace to determine how to get a reference to the desired remote object (WLMTestEJB).
在获得initialcontext值以后,然后客户端代码在JNDI命名空间中执行查找,以确定如何获取对所需远程对象(WLMTestEJB)的引用。
After the InitialContext value has been obtained, the client code then does a lookup in the JNDI namespace to determine how to get a reference to the desired remote object (WLMTestEJB).
在获得initialcontext值以后,然后客户端代码在JNDI命名空间中执行查找,以确定如何获取对所需远程对象(WLMTestEJB)的引用。
应用推荐