Menu

JsonGateway / News: Recent posts

JsonGateway Usage

JsonGateway is an ajax RPC service gateway for java backend service with the json data format. now it can call spring servcie. JsonGateway can generate your service wrapper javascript automaticly, this makes your ajax rpc call easy. It uses the jQuery, and uses the jsontools as it's json data converter.

Usage:
In this time,JsonGateway only can invoke springframework service bean.
confiure the JsonGateway servlet: In web.xml, add
<servlet>
<description>json gateway</description>
<display-name>json gateway servlet</display-name>
<servlet-name>json-gateway</servlet-name>
<servlet-class>org.svilo.spring.json.JsonGatewayServlet</servlet-class>
</servlet>... read more

Posted by fivefish 2007-02-08