By default containers used optimized in vm call semantics to avoid
RMI serialization costs. See the Optimized flag in the container-invoker-conf
element discussion here:
http://www.jboss.org/documentation/HTML/ch06s08.html
----- Original Message -----
From: "Jim Archer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 14, 2001 2:49 PM
Subject: [JBoss-user] Pass by reference between two SLSBs?
> Hi All...
>
> I have noticed that jBoss can pass a Collection by reference from one SLSB
> into another. If I am in a SLSB and pass a Collection of objects into a
> different SLSB (via its remote interface, of course), modify the Collection
> in the called SLSB and then return, the SLSB I issued the call from can see
> the modified data in the Collection it passed down.
>
> I was under the impression (prehaps wrongly) that an object passed to an
> entity bean through a remote interface would, in effect, be passed by
> value.
>
> So whats going on?
>
> I'm using jBoss 2.2.1 Tomcat-3.2.1 on Sun's JDK 1.3.1 and Windows 2000.
>
> Thanks!
>
> Jim
>
>
> ********************************************
> I shall be telling this with a sigh
> Somewhere ages and ages hence:
> Two roads diverged in a wood, and I -
> I took the one less traveled by,
> And that has made all the difference.
>
> - Robert Frost, 1916
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user