[jboss-user] [Beginners Corner] - Local Invocation / Call by Reference

eigenbrodtm do-not-reply at jboss.com
Tue Apr 28 03:18:42 EDT 2009


Hello,

I've posted this some weeks ago in "Performance Tuning" bud din't recieve any answer. So I'll try again here.

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=4227182#4227182

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227182



More information about the jboss-user mailing list