ejb.copyValues

Specifies a global value to enable or disable by-reference parameter passing for in-server remote interface invocations of the module’s components. A value of true means parameters are passed by creating temporary copies, making in-server remote interface calls behave like calls to a remote server. A value of false enables by-reference parameter passing, effectively making in-server remote interface invocations behave like local interface invocations. By-reference parameter passing can improve server performance, but may change the behavior of component code that modifies or retains references to variables passed as parameters to remote interface invocations.

To override this setting for individual components, create a <setProperties> command in your user configuration that runs the <copyValues> subcommand. For example:

<target name="configure-user">
  <setProperties component="ejb.components.myjar.MyCompRemote">
     <copyValues enable="true"/>
  </setProperties>
</target>