EJB invocation using Remote interface use "call-by-reference" even if explicit "call-by-value" is configured
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 we suddenly noted that the this changes quite a lot 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 EJB's 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
