openejb.localcopy does nothing like what's described in docs
------------------------------------------------------------

                 Key: OPENEJB-1431
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1431
             Project: OpenEJB
          Issue Type: Bug
          Components: documentation
    Affects Versions: 3.1.4
            Reporter: Ed Staub


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!!!

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to