If performance is important, you can access the EJBs via their local interface (call-by-reference), unless your topology requires remote access.
如果性能很重要,可以通过EJB的本地接口访问它们(按引用调用),除非拓扑要求进行远程访问。
The enable-call-by-reference element is generally used to pass parameters by reference rather than by value, which requires making a copy of the parameters.
enable-call-by-reference元素通常用于按引用传递参数,而不是按值传递,后者需要对参数做复制。
The first thing a session bean must do is to obtain a reference to a PersistenceManagerFactory by making a JNDI lookup call.
会话bean必须做的第一件事是通过调用JNDI查询,获得对PersistenceManagerFactory的引用。
By enabling pass by reference, the parameters of the method are not copied to the stack with every remote call, which can be expensive.
通过引用传递,方法的参数没有被复制到每个远程调用的堆栈中,而这个复制过程可能是代价高的。
Therefore, if call by reference is enabled, it applies to all of the remote interfaces in the application, not only to a subset of them.
因此,如果启用了按引用传递,则它将应用到应用程序中的所有远程接口,而不只是其中一个子集。
The declaration begins with the global reference to the Flex application, then a method call that always begins with the string get followed by the ID of the target object.
该声明首先是Flex应用程序的全局引用,然后是始终以字符串get 为开头、后接目标对象ID的方法调用。
The paper makes in-depth analysis about essence of call by values and call by references, return by value and return by reference, also explains these through some examples.
笔者系统地分析了函数参数传递中值调用和引用调用以及函数值返回和引用返回的本质,并举例进行了说明。
The paper makes in-depth analysis about essence of call by values and call by references, return by value and return by reference, also explains these through some examples.
笔者系统地分析了函数参数传递中值调用和引用调用以及函数值返回和引用返回的本质,并举例进行了说明。
应用推荐