You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Simon Nash <na...@apache.org> on 2011/01/02 16:23:00 UTC

Re: a big problem with databinding and passing of Java Objects

Fabio Albani wrote:
> Hi to all,
> I've developed some extension tu Tuscany for my master degree, 
> expecially a new interface and implementation. 
>  I've developed transformators creating a new data-binding for 
> converting ASM Value to Java Object and viceversa.
> 
> My problem is, even if I've set my ASMImplementationInvoker as a 
> DataTypesomething, so having to override the method 
> isAllowsPassByReference() (cause in my implementation I've not defined 
> an annotation for doing this), the Java objects passed between different 
> components implemented in the technology I've added, Tuscany runtime 
> tries to serialized the with JAXB, causing an error.
> 
> My question is: how can I force that passing by reference and not value? 
> What I've to set? Or, how can I override this JAXB problem and convert 
> them with other types, for example SDO?
> 
> Thanks in advance.
> 
> Fabio
 >
Is the service interface local or remotable?  If it is local, there
should be no copying.

   Simon