You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Scott Kurz <sk...@gmail.com> on 2011/07/28 17:17:27 UTC
Re: [jira] [Commented] (TUSCANY-3894) Binding.sca local behavior:
copy vs. mediate, same-databinding assumption
Raymond,
I'm glad you asked ;)
This is local as in "same-JVM", but we still have paths through this
code with remotable interfaces that need the PBV semantics.
Before my TUSCANY-3894 code, we simply used Mediator.copyXXX. The
solution only worked if client & service both used the same
databinding.
Since this would probably be the case most of the time... I didn't
want to argue too strongly that we must switch to the WSDL/XML binding
in case the consensus was that this was a useful thing to optimize
for... but I do think we need the ability to plugin the XML/WSDL
support easily. I also didn't want to repeat the PBR calculation
which is embedded within the local binding.