ahh...
Now that is impressive in JBoss. "Being able to turn off all copying for a
particular bean." I have not seen this control in other App servers. In
other app server it seems to be automatic and container controlled (ie you
don't get a choice)
Tell me Rickard, do you have any benchmarks of JBoss vs Orion for speed
optimization (official or unofficial) ...
>peter
-----Original Message-----
From: Rickard �berg [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 07, 2000 10:01 AM
To: [EMAIL PROTECTED]
Subject: Re: Remote vs Local Method Call Optimization
On Tue, 7 Nov 2000 09:52:19 -0000, Peter Delahunty
<[EMAIL PROTECTED]> wrote:
>This is quite interesting. I only have two business method on my bean....
>setData() and getData().
>
>each of the methods pass in or return respectively a value object which is
>immutable (but only because I made it so... no set methods) so does the app
>server and for that matter any other app server inc JBoss detect that the
>object is immutable and pass by reference rather than by value. My object
>will be made up of primitives and Strings.
jBoss will not detect this, and I hope noone else does it either. The
thing is that we have no way of knowing that your object is immutable,
even if you only have get-methods. Only having get-methods is not an
insurance that the object is immutable.
<vendor>
In your case I would recommend turning off call copying for that bean in
jBoss. This is done by changing the container configuration that the
bean uses. If you have several beans with the same pattern I would
recommend making one config. that all those beans uses.
</vendor>
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".