Hi,
We had discussions before on how we can optimize the pass-by-value support:
http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg11487.html
As a summary, here are some points:
1) Pass-by-value interceptor could be skipped for the wires to a bound
reference or from a bound service with the assumption that
transport/protocol layer (for example, SOAP/HTTP) in the bindings will
marshal/unmarshal the data and in turn enforce the by-value semantics.
2) Pass-by-value interceptor could be skipped if the databinding interceptor
is also effective in chain (data transformation will convert the data by
value).
3) Different databindings could provide their own way to copy data. For java
objects, we decide to use serialize/deserialize to enfore the by-value as
it's the most common way. I think the SCA for Java C&I spec should tell us
what to do:-).
Thanks,
Raymond
----- Original Message -----
From: "Rick Rineholt" <[EMAIL PROTECTED]>
To: "tuscdev" <tuscany-dev@ws.apache.org>
Sent: Wednesday, January 17, 2007 6:09 AM
Subject: Auto AllowsPassByReference on WebServiceBindings
For the Web service bindings since there is in essence a copy that has
already been made in the serialization and deserialization and the
bindings themselves shouldn't modify the parms/result can these
connections be automatically marked with AllowsPassByReference ?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]