Discussion:
what is 'call-by-reference' mean?
(too old to reply)
Tsozum Tsozum
2005-01-11 15:43:41 UTC
Permalink
EJBs by default resort to call-by-value - meaning data is copied during remote method call. This is inefficient. The call-by-reference is a bea specific feature that you can turn on/off by setting it true/false in weblogic-ejb-jar.xml. When you do, all the beans that are *colocated* will be called by reference which will yield better performance for you, since copying overhead is minimized.

It used to be true before WLS 8.1, but was set to false due to J2EE licensing restriction.

Thanks, ~vk
pradeep tiwari
2005-01-11 18:55:35 UTC
Permalink
Hi,
For more information about call by reference and how to set it in your deployment descriptor you can go through the following link http://e-docs.bea.com/wls/docs81/ejb/DDreference-ejb-jar.html#1113807

Pradeep
Fauzi Mubarok
2005-01-13 06:19:08 UTC
Permalink
Ok, thank you very much.
But last question
whar are u guys recommend to me? Setting it true or let it be its default value (false) ?
Loading...