If you use the optimized configuration (this can be customized in
jboss.xml/standardjboss.xml) then you will be using pass-by-reference.  If
that bothers you then set configuration for non-optimized.  I do not recall
that the spec requires serialization but I am not certain.  

-----Original Message-----
From: Martin Klang [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 18, 2001 1:50 PM
To: [EMAIL PROTECTED]
Subject: [jBoss-User] pass by value/reference



hiya,

i'll try posting this question again - just subscribed, don't know if it
missed the list somehow first time.

i understand that with the in-VM tomcat/jboss integration method calls
will not lead to objects being serialized.
does that imply passing args by reference, not by value?
i'm assuming this applies to remote interface method invocations, where
args and return values are usually serialized.

surely this means that beans will behave differently if the client is
running in the same VM - at least beans that modifies the objects they get
passed in some way?
how does this comply with the spec?

ref:
http://www.jboss.org/newsite/business/tomcat.htm


regards,

/m



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to