You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Dhaval Chauhan <dh...@hotmail.com> on 2008/08/01 00:26:32 UTC
Issue with the Java Datatype support for JSON-RPC binding
Hi,
I am investigating following JIRA:
TUSCANY-2488 (https://issues.apache.org/jira/browse/TUSCANY-2488)
It looks to me that this issue is related with the databinding.
Where should I start looking to solve this issue?
Thanks,
Dhaval
_________________________________________________________________
Stay in touch when you're away with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_messenger2_072008
RE: Issue with the Java Datatype support for JSON-RPC binding
Posted by Dhaval Chauhan <dh...@hotmail.com>.
Hi Raymond,
Thanks for your response.
Actually the issue was not with the databingind but it was with the interface I created for the testcases.
I missed the fact that the databinding only supports remotable interfaces.
I have made the interface remotable and now all the testcases are working.
Hence, the existing implementation of JSON-RPC binding currently supports Java primitive datatypes and the collections as well.
I have also updated the JIRA with the latest patch.
Thanks,
Dhaval
> From: enjoyjava@gmail.com
> To: dev@tuscany.apache.org
> Subject: Re: Issue with the Java Datatype support for JSON-RPC binding
> Date: Thu, 31 Jul 2008 15:46:16 -0700
>
> Hi,
>
> We start with the simple steps. Say, you first want to understand how Java
> is mapped to JSON. You can write test cases to use the Java2JSON transformer
> [1][2] , pass in simple types, complex types, arrays, collections and maps
> to see what JSON objects are produced.
>
> [1]
> tuscany-databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JavaBean2JSON.java
> [2]
> tuscany-databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSON2JavaBean.java
>
> Thanks,
> Raymond
>
> From: Dhaval Chauhan
> Sent: Thursday, July 31, 2008 3:26 PM
> To: dev@tuscany.apache.org
> Subject: Issue with the Java Datatype support for JSON-RPC binding
>
>
> Hi,
>
> I am investigating following JIRA:
>
> TUSCANY-2488 (https://issues.apache.org/jira/browse/TUSCANY-2488)
>
> It looks to me that this issue is related with the databinding.
>
> Where should I start looking to solve this issue?
>
> Thanks,
> Dhaval
>
>
>
>
>
>
>
>
>
>
>
> Stay in touch when you're away with Windows Live Messenger. IM anytime
> you're online.
>
_________________________________________________________________
Reveal your inner athlete and share it with friends on Windows Live.
http://revealyourinnerathlete.windowslive.com?locale=en-us&ocid=TXT_TAGLM_WLYIA_whichathlete_us
Re: Issue with the Java Datatype support for JSON-RPC binding
Posted by Raymond Feng <en...@gmail.com>.
Hi,
We start with the simple steps. Say, you first want to understand how Java
is mapped to JSON. You can write test cases to use the Java2JSON transformer
[1][2] , pass in simple types, complex types, arrays, collections and maps
to see what JSON objects are produced.
[1]
tuscany-databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JavaBean2JSON.java
[2]
tuscany-databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSON2JavaBean.java
Thanks,
Raymond
From: Dhaval Chauhan
Sent: Thursday, July 31, 2008 3:26 PM
To: dev@tuscany.apache.org
Subject: Issue with the Java Datatype support for JSON-RPC binding
Hi,
I am investigating following JIRA:
TUSCANY-2488 (https://issues.apache.org/jira/browse/TUSCANY-2488)
It looks to me that this issue is related with the databinding.
Where should I start looking to solve this issue?
Thanks,
Dhaval
Stay in touch when you're away with Windows Live Messenger. IM anytime
you're online.