4 Replies Latest reply on Dec 27, 2002 1:28 PM by Adrian Brock

    Pass by reference to remote EJB - not spec compliant

    Nick Newman Newbie

      Hi,

      I checked the address of an object passed through a remote interface in Jboss 3.0.2 and found that, when the objects are in the same VM, I was getting pass by reference rather than the pass by value that the spec requires.

      I know this was an available optimization in JBoss 2.4, but I thought it had been removed with the introduction of local interfaces in JBoss 3.0.0.

      Am I missing something? Is there a way to get the spec-compliant behavior?

      Thanks,
      Nick