A Managed Bean (MB) calls a method from a remote EJB sending a value object. A property of this value object is changed inside the ejb method.
In the MB, after the execution of the ejb method, the content of the value object sometimes is the same of before of the execution of the ejb method and sometimes has the value attributed inside the ejb method.
This difference of behaviour happens in two different applications. We can't see where is the difference.
What's the expected behaviour in a ejb remote call? Can some configuration in application.xml or web.xml changes this behaviour?