Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1.4
-
None
-
None
Description
The doc on http://openejb.apache.org/3.0/startup.html says that when system property openejb.localcopy is false, it:
"Instructs the container system to not marshal (copy) calls between beans. The container system as will pass parameters and return values without copying or marshalling as is required for EJB 2.0 Local interfaces."
See org.apache.openejb.core.ivm.BaseEjbProxyHandler.java. LOCAL interfaces are not affected at all - they ALWAYS pass by reference. When localCopy is set to false, REMOTE EJB args/results are passed by reference when in the same JVM.
I'm guessing this works as designed - it's the doc that's wrong. But that's just a guess!!!