Does Geronimo support JSON binding?

2010-07-02 Thread LinGong
Hi, I've add @Webservice annotation on the stateless session bean. But I need to use JSON as the transport format. So I add @BindingType(JSONBindingID.JSON_BINDING) on the same session bean(I add the jaxws-json-1.2.jar to the lib dir for the server.). But this will cause error when deploy to the

RESTful webservice for JSON format

2010-06-20 Thread LinGong
Is there any possibility to turn the transport format from XML to JSON in Geronimo2.2's RESTful webservice ? I send the JSON string from server to client it will always report class cast exception occured(XML string will be ok). And the annotation style of JAX-RS in JAVA EE6 is charming. Is

Re: RESTful webservice for JSON format

2010-06-20 Thread LinGong
Thanks REX. I know that Geronimo is JAVA EE6 appserver. Is there a way to replace the ws module with the latest JAX-RS? And what about using JSON in restful webservice? Is it possilbe? -- View this message in context: