[jboss-user] [Performance Tuning] - Local Invocation / Call by Reference
do-not-reply at jboss.com
Fri Apr 3 02:40:19 EDT 2009
I using JBoss 5.0.1 GA.
Based on http://www.jboss.org/community/docs/DOC-9288 (Section Performance note - Call By Value) i would expect that parameters and return values of calls to a remote Bean are passed by reference if happening in one jvm.
I've written a simple Remote Bean with a Method that returns a DataBean.
I've overriden the DataBeans readResolve and writeOject Method do log some Message and it turns a out the bean is being serialized no matter whether org.jboss.naming.NamingService.CallByValue is true or not.
Is this the expected behaviour?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223171#4223171
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223171
More information about the jboss-user