EJB invocation using Remote interface uses "call-by-reference" even if explicit "call-by-value" is configured

Solution Verified - Updated -

Issue

  • An EJB is called with arguments by reference instead of passing values even the configuration is:

    <in-vm-remote-interface-invocation pass-by-value="true"/>
    
  • After upgrade from EAP 7.0 to 7.1, it is suddenly noted a change of behaviour in our application since it becomes pass-by-reference instead of pass-by-value.

  • If an application is configured to use a remote connection to invoke EJBs, the local invocations using @Remote interfaces change the behaviour from call-by-value to call-by-reference.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In