By enabling pass by reference, the parameters of the method are not copied to the stack with every remote call, which can be expensive.
通过引用传递,方法的参数没有被复制到每个远程调用的堆栈中,而这个复制过程可能是代价高的。
With pass by value, any change to the parameter is not reflected in the calling routine. Those who have used pass by reference will probably find this confusing.
参数按值传递的话,任何对该参数的修改都不会反射到调用这个方法的程序,使用按引用传递参数的人可能对这一点搞到困惑。
The ORB pass by reference option will only provide a benefit when the EJB client (that is, servlet) and invoked EJB module are located within the same classloader.
仅当 EJB 客户机(即 servlet)和所调用的 EJB 模块位于相同的类加载器中时,ORB 通过引用传递选项才能够带来收益。
应用推荐