Introduction
JSON-RPC-Java is a key piece of Java web application middleware that allows JavaScript DHTML web applications to call remote methods in a Java Application Server without the need for page reloading (now refered to as AJAX). It enables a new breed of fast and highly dynamic enterprise Web 2.0 applications (using similar techniques to Gmail and Google Suggests).
Java Script To Java
(without page reload)
+ = JSON RPC
Java To Javascript
(without page reload)
Developer Point of View :
" compare Dwr and json in dwr we need to
config xml file(dwr .xml)json no need for
xml fils only support jars and js"
Example program --http://siva2baba.diinoweb.com
Step by Step Development:
+Json RPC
||
+WEB-INF
||
--->web.xml
+-->siva.json
-->Hello.java
||-->Hello.js
||-->Hello.jsp
||-->json.js
|